$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/sblim-cmpi-nfsv3.git /var/lib/mock/dist-an7-build-33088-16169/root/chroot_tmpdir/scmroot/sblim-cmpi-nfsv3 Cloning into '/var/lib/mock/dist-an7-build-33088-16169/root/chroot_tmpdir/scmroot/sblim-cmpi-nfsv3'... $ git reset --hard origin/a7 HEAD is now at 0e66344 import sblim-cmpi-nfsv3-1.1.1-9.el7.src.rpm