$ git clone -n https://gitee.com/cobratoxin/orc.git /var/lib/mock/dist-an8.8-build-288114-64887/root/chroot_tmpdir/scmroot/orc Cloning into '/var/lib/mock/dist-an8.8-build-288114-64887/root/chroot_tmpdir/scmroot/orc'... $ git fetch origin acdd9c9e13ae7ce70087ecc1bbae5cdfba0520ca:KOJI_FETCH_HEAD From https://gitee.com/cobratoxin/orc * [new ref] acdd9c9e13ae7ce70087ecc1bbae5cdfba0520ca -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at acdd9c9 import orc-0.4.28-3.el8.src.rpm