$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/sblim-cmpi-nfsv4.git /var/lib/mock/dist-an7-build-33091-16169/root/chroot_tmpdir/scmroot/sblim-cmpi-nfsv4 Cloning into '/var/lib/mock/dist-an7-build-33091-16169/root/chroot_tmpdir/scmroot/sblim-cmpi-nfsv4'... $ git reset --hard origin/a7 HEAD is now at 2960878 import sblim-cmpi-nfsv4-1.1.0-10.el7.src.rpm