$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/rhc.git /var/lib/mock/dist-an8_4-build-39685-19558/root/chroot_tmpdir/scmroot/rhc Cloning into '/var/lib/mock/dist-an8_4-build-39685-19558/root/chroot_tmpdir/scmroot/rhc'... $ git reset --hard origin/a8 HEAD is now at 473121c update to rhc-0.2.0-1.el8_4