$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/hyphen-nl.git /var/lib/mock/dist-an7-build-28304-15248/root/chroot_tmpdir/scmroot/hyphen-nl Cloning into '/var/lib/mock/dist-an7-build-28304-15248/root/chroot_tmpdir/scmroot/hyphen-nl'... $ git reset --hard origin/a7 HEAD is now at 69bb440 import hyphen-nl-0.20050617-10.el7.src.rpm