$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/nfs4-acl-tools.git /var/lib/mock/dist-an7-build-32433-16002/root/chroot_tmpdir/scmroot/nfs4-acl-tools Cloning into '/var/lib/mock/dist-an7-build-32433-16002/root/chroot_tmpdir/scmroot/nfs4-acl-tools'... $ git reset --hard origin/a7 HEAD is now at 7ef6e88 import nfs4-acl-tools-0.3.3-20.el7.src.rpm