$ git clone -n https://gitee.com/src-anolis-os/sbc /var/lib/mock/dist-an7_9-updates-build-107756-45678/root/chroot_tmpdir/scmroot/sbc Cloning into '/var/lib/mock/dist-an7_9-updates-build-107756-45678/root/chroot_tmpdir/scmroot/sbc'... $ git reset --hard e1c737a52972295614d371120b6969d7d1342293 HEAD is now at e1c737a import sbc-1.3-9.el8.src.rpm