$ git clone -n git+ssh://git@codeup.openanolis.cn/codeup/anolis-os/mstflint.git /var/lib/mock/dist-an8.4-build-20428-8912/root/chroot_tmpdir/scmroot/mstflint Cloning into '/var/lib/mock/dist-an8.4-build-20428-8912/root/chroot_tmpdir/scmroot/mstflint'... $ git reset --hard origin/a8 HEAD is now at e3e34e9 update to mstflint-4.15.0-1.el8.src.rpm