$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/hyphen-grc.git /var/lib/mock/dist-an7-build-28262-15244/root/chroot_tmpdir/scmroot/hyphen-grc Cloning into '/var/lib/mock/dist-an7-build-28262-15244/root/chroot_tmpdir/scmroot/hyphen-grc'... $ git reset --hard origin/a7 HEAD is now at 0863a1d import hyphen-grc-0.20110913-5.el7.src.rpm