$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/hyphen.git /var/lib/mock/dist-an7-build-28226-15241/root/chroot_tmpdir/scmroot/hyphen Cloning into '/var/lib/mock/dist-an7-build-28226-15241/root/chroot_tmpdir/scmroot/hyphen'... $ git reset --hard origin/a7 HEAD is now at 1dcb370 import hyphen-2.8.6-5.el7.src.rpm