$ git clone -n https://gitee.com/src-anolis-os/libuser.git /var/lib/mock/dist-lifsea8-build-75582-39259/root/chroot_tmpdir/scmroot/libuser Cloning into '/var/lib/mock/dist-lifsea8-build-75582-39259/root/chroot_tmpdir/scmroot/libuser'... $ git reset --hard origin/a8 HEAD is now at 1930438 import libuser-0.62-23.el8.src.rpm