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