$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/libgee.git /var/lib/mock/dist-an7-build-31754-15795/root/chroot_tmpdir/scmroot/libgee Cloning into '/var/lib/mock/dist-an7-build-31754-15795/root/chroot_tmpdir/scmroot/libgee'... $ git reset --hard origin/a7 HEAD is now at 613b231 import libgee-0.20.1-1.el7.src.rpm