$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/geronimo-annotation.git /var/lib/mock/dist-an7-build-27752-15195/root/chroot_tmpdir/scmroot/geronimo-annotation Cloning into '/var/lib/mock/dist-an7-build-27752-15195/root/chroot_tmpdir/scmroot/geronimo-annotation'... $ git reset --hard origin/a7 HEAD is now at 62dd5ed import geronimo-annotation-1.0-15.el7.src.rpm