$ git clone -n https://gitee.com/src-anolis-nde/nde-release.git /var/lib/mock/dist-an8.9-nde-build-351594-70918/root/chroot_tmpdir/scmroot/nde-release Cloning into '/var/lib/mock/dist-an8.9-nde-build-351594-70918/root/chroot_tmpdir/scmroot/nde-release'... $ git reset --hard origin/a8 HEAD is now at 2b428f2 add README.md.