$ git clone -n https://gitee.com/src-anolis-os/git.git /var/lib/mock/dist-an23-build-199432-60961/root/chroot_tmpdir/scmroot/git Cloning into '/var/lib/mock/dist-an23-build-199432-60961/root/chroot_tmpdir/scmroot/git'... $ git reset --hard origin/a23 HEAD is now at 3fa6f2e 2.39.1