$ git clone -n https://gitee.com/src-anolis-os/t1lib.git /var/lib/mock/dist-an23-build-339828-69795/root/chroot_tmpdir/scmroot/t1lib Cloning into '/var/lib/mock/dist-an23-build-339828-69795/root/chroot_tmpdir/scmroot/t1lib'... $ git reset --hard origin/a23 HEAD is now at 95e041a rebuild