$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/geronimo-jms.git /var/lib/mock/dist-an7-build-27754-15195/root/chroot_tmpdir/scmroot/geronimo-jms Cloning into '/var/lib/mock/dist-an7-build-27754-15195/root/chroot_tmpdir/scmroot/geronimo-jms'... $ git reset --hard origin/a7 HEAD is now at 859bc10 import geronimo-jms-1.1.1-19.el7.src.rpm