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