$ git clone -n https://gitee.com/src-anolis-os/initial-setup.git /var/lib/mock/dist-an23-build-343737-70049/root/chroot_tmpdir/scmroot/initial-setup Cloning into '/var/lib/mock/dist-an23-build-343737-70049/root/chroot_tmpdir/scmroot/initial-setup'... $ git reset --hard e73a94bd7697ff6287a79a76be7e56ec4f807725 HEAD is now at e73a94b correct project url