$ git clone -n https://gitee.com/mgb01105731/libXcursor_1.git /var/lib/mock/dist-an23-build-123000-46111/root/chroot_tmpdir/scmroot/libXcursor_1 Cloning into '/var/lib/mock/dist-an23-build-123000-46111/root/chroot_tmpdir/scmroot/libXcursor_1'... $ git reset --hard origin/a23 HEAD is now at f1f453e update to 1.2.1