$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/bzip2.git /var/lib/mock/dist-an7-build-27296-15153/root/chroot_tmpdir/scmroot/bzip2 Cloning into '/var/lib/mock/dist-an7-build-27296-15153/root/chroot_tmpdir/scmroot/bzip2'... $ git reset --hard origin/a7 HEAD is now at 8186fb6 import bzip2-1.0.6-13.el7.src.rpm