$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/libabw.git /var/lib/mock/dist-an7-build-40104-20007/root/chroot_tmpdir/scmroot/libabw Cloning into '/var/lib/mock/dist-an7-build-40104-20007/root/chroot_tmpdir/scmroot/libabw'... $ git reset --hard origin/a7 HEAD is now at 743a1f6 import libabw-0.1.1-2.el7.src.rpm