$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/nfstest.git /var/lib/mock/dist-an7-build-29310-15373/root/chroot_tmpdir/scmroot/nfstest Cloning into '/var/lib/mock/dist-an7-build-29310-15373/root/chroot_tmpdir/scmroot/nfstest'... $ git reset --hard origin/a7 HEAD is now at 68d4881 import nfstest-2.1.5-1.el7.src.rpm