$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/hyphen-it.git /var/lib/mock/dist-an7-build-28272-15244/root/chroot_tmpdir/scmroot/hyphen-it Cloning into '/var/lib/mock/dist-an7-build-28272-15244/root/chroot_tmpdir/scmroot/hyphen-it'... $ git reset --hard origin/a7 HEAD is now at 8288238 import hyphen-it-0.20071127-10.el7.src.rpm