$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/spice.git /var/lib/mock/dist-an7-build-30362-15494/root/chroot_tmpdir/scmroot/spice Cloning into '/var/lib/mock/dist-an7-build-30362-15494/root/chroot_tmpdir/scmroot/spice'... $ git reset --hard origin/a7 HEAD is now at 1405234 import spice-0.14.0-7.el7.src.rpm