$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/scap-security-guide.git /var/lib/mock/dist-an7-updates-build-43338-21691/root/chroot_tmpdir/scmroot/scap-security-guide Cloning into '/var/lib/mock/dist-an7-updates-build-43338-21691/root/chroot_tmpdir/scmroot/scap-security-guide'... $ git reset --hard origin/a7 HEAD is now at bc6bfcb update to scap-security-guide-0.1.49-13.el7.centos.src.rpm