$ git clone -n https://gitee.com/hongwei-qin/openmpi.git /var/lib/mock/dist-an23.3-build-425762-72976/root/chroot_tmpdir/scmroot/openmpi Cloning into '/var/lib/mock/dist-an23.3-build-425762-72976/root/chroot_tmpdir/scmroot/openmpi'... $ git fetch origin 4a01ad651348e42521cae57d0a116da9331e2c5c:KOJI_FETCH_HEAD From https://gitee.com/hongwei-qin/openmpi * [new ref] 4a01ad651348e42521cae57d0a116da9331e2c5c -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 4a01ad6 update to 5.0.2