$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/libgpg-error.git /var/lib/mock/dist-an7-build-31771-15795/root/chroot_tmpdir/scmroot/libgpg-error Cloning into '/var/lib/mock/dist-an7-build-31771-15795/root/chroot_tmpdir/scmroot/libgpg-error'... $ git reset --hard origin/a7 HEAD is now at ad96285 import libgpg-error-1.12-3.el7.src.rpm