$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/jimtcl.git /var/lib/mock/dist-an8.4-build-19439-8430/root/chroot_tmpdir/scmroot/jimtcl Cloning into '/var/lib/mock/dist-an8.4-build-19439-8430/root/chroot_tmpdir/scmroot/jimtcl'... $ git reset --hard origin/a8 HEAD is now at 7a191b6 update to jimtcl-0.77-6.el8.src.rpm