$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/libotf.git /var/lib/mock/dist-an7-build-31924-15836/root/chroot_tmpdir/scmroot/libotf Cloning into '/var/lib/mock/dist-an7-build-31924-15836/root/chroot_tmpdir/scmroot/libotf'... $ git reset --hard origin/a7 HEAD is now at 053e096 import libotf-0.9.13-4.el7.src.rpm