$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/x3270.git /var/lib/mock/dist-an7-build-33359-16169/root/chroot_tmpdir/scmroot/x3270 Cloning into '/var/lib/mock/dist-an7-build-33359-16169/root/chroot_tmpdir/scmroot/x3270'... $ git reset --hard origin/a7 HEAD is now at 359b596 import x3270-3.3.12ga12-4.el7.src.rpm