$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/libgdither.git /var/lib/mock/dist-an7-build-31753-15795/root/chroot_tmpdir/scmroot/libgdither Cloning into '/var/lib/mock/dist-an7-build-31753-15795/root/chroot_tmpdir/scmroot/libgdither'... $ git reset --hard origin/a7 HEAD is now at 430f0f5 import libgdither-0.6-8.el7.src.rpm