$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/sblim-cmpi-syslog.git /var/lib/mock/dist-an7-build-33092-16169/root/chroot_tmpdir/scmroot/sblim-cmpi-syslog Cloning into '/var/lib/mock/dist-an7-build-33092-16169/root/chroot_tmpdir/scmroot/sblim-cmpi-syslog'... $ git reset --hard origin/a7 HEAD is now at 72aa063 import sblim-cmpi-syslog-0.9.0-4.el7.src.rpm