$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/libconfig.git /var/lib/mock/dist-an7-build-31695-15788/root/chroot_tmpdir/scmroot/libconfig Cloning into '/var/lib/mock/dist-an7-build-31695-15788/root/chroot_tmpdir/scmroot/libconfig'... $ git reset --hard origin/a7 HEAD is now at dea49c0 import libconfig-1.4.9-5.el7.src.rpm