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