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