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