$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/psmisc.git /var/lib/mock/dist-an8.4-build-19667-8499/root/chroot_tmpdir/scmroot/psmisc Cloning into '/var/lib/mock/dist-an8.4-build-19667-8499/root/chroot_tmpdir/scmroot/psmisc'... $ git reset --hard origin/a8 HEAD is now at 53651e2 update to psmisc-23.1-5.el8.src.rpm