$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/mod_revocator.git /var/lib/mock/dist-an7-build-29213-15364/root/chroot_tmpdir/scmroot/mod_revocator Cloning into '/var/lib/mock/dist-an7-build-29213-15364/root/chroot_tmpdir/scmroot/mod_revocator'... $ git reset --hard origin/a7 HEAD is now at 0045bd5 import mod_revocator-1.0.3-21.el7.src.rpm