$ git clone -n https://gitee.com/src-anolis-os/git.git /var/lib/mock/dist-an23-build-121623-46052/root/chroot_tmpdir/scmroot/git Cloning into '/var/lib/mock/dist-an23-build-121623-46052/root/chroot_tmpdir/scmroot/git'... $ git reset --hard origin/a23 HEAD is now at 0197347 update to 2.37.3