$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/rshim.git /var/lib/mock/dist-an8.4-build-21464-10011/root/chroot_tmpdir/scmroot/rshim Cloning into '/var/lib/mock/dist-an8.4-build-21464-10011/root/chroot_tmpdir/scmroot/rshim'... $ git reset --hard origin/a8 HEAD is now at 6e8dcbd import rshim-2.0.4-4.el8.src.rpm