$ git clone -n https://gitee.com/src-anolis-os/libksba.git /var/lib/mock/dist-lifsea8-build-75545-39259/root/chroot_tmpdir/scmroot/libksba Cloning into '/var/lib/mock/dist-lifsea8-build-75545-39259/root/chroot_tmpdir/scmroot/libksba'... $ git reset --hard origin/a8 HEAD is now at 2605341 import libksba-1.3.5-7.el8.src.rpm