$ git clone -n https://gitee.com/src-anolis-os/file /var/lib/mock/dist-an8.7-build-121756-46070/root/chroot_tmpdir/scmroot/file Cloning into '/var/lib/mock/dist-an8.7-build-121756-46070/root/chroot_tmpdir/scmroot/file'... $ git reset --hard origin/a8 HEAD is now at 21a12e4 update to file-5.33-20.el8