$ git clone -n https://gitee.com/happy_orange/anolis-rawhide-release.git /var/lib/mock/dist-an23-build-339601-69782/root/chroot_tmpdir/scmroot/anolis-rawhide-release Cloning into '/var/lib/mock/dist-an23-build-339601-69782/root/chroot_tmpdir/scmroot/anolis-rawhide-release'... $ git reset --hard f46f1c8f68373c3c12e8215b47f86f27e101d97c HEAD is now at f46f1c8 update nightly repo