$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/hyphen-mn.git /var/lib/mock/dist-an7-build-28301-15248/root/chroot_tmpdir/scmroot/hyphen-mn Cloning into '/var/lib/mock/dist-an7-build-28301-15248/root/chroot_tmpdir/scmroot/hyphen-mn'... $ git reset --hard origin/a7 HEAD is now at 11aa923 import hyphen-mn-0.20100531-6.el7.src.rpm