$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/tn5250.git /var/lib/mock/dist-an7-build-33273-16169/root/chroot_tmpdir/scmroot/tn5250 Cloning into '/var/lib/mock/dist-an7-build-33273-16169/root/chroot_tmpdir/scmroot/tn5250'... $ git reset --hard origin/a7 HEAD is now at 93f1231 import tn5250-0.17.4-10.el7.src.rpm