$ git clone -n https://gitee.com/src-anolis-os/libXScrnSaver.git /var/lib/mock/dist-an23-build-178677-59118/root/chroot_tmpdir/scmroot/libXScrnSaver Cloning into '/var/lib/mock/dist-an23-build-178677-59118/root/chroot_tmpdir/scmroot/libXScrnSaver'... $ git reset --hard origin/a23 HEAD is now at 041b1e2 1.2.4