$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/pam_wrapper.git /var/lib/mock/dist-an8.4-build-20794-9100/root/chroot_tmpdir/scmroot/pam_wrapper Cloning into '/var/lib/mock/dist-an8.4-build-20794-9100/root/chroot_tmpdir/scmroot/pam_wrapper'... $ git reset --hard origin/a8 HEAD is now at e000e5f import pam_wrapper-1.0.7-1.el8