$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/fipscheck.git /var/lib/mock/dist-an7-build-27660-15189/root/chroot_tmpdir/scmroot/fipscheck Cloning into '/var/lib/mock/dist-an7-build-27660-15189/root/chroot_tmpdir/scmroot/fipscheck'... $ git reset --hard origin/a7 HEAD is now at e0e4baa import fipscheck-1.4.1-6.el7.src.rpm