$ git clone -n https://gitee.com/hongwei-qin/numatop.git /var/lib/mock/dist-an23.3-build-424694-72939/root/chroot_tmpdir/scmroot/numatop Cloning into '/var/lib/mock/dist-an23.3-build-424694-72939/root/chroot_tmpdir/scmroot/numatop'... $ git fetch origin 5f19c409b995580a22709f54baf44117f1bf17f0:KOJI_FETCH_HEAD From https://gitee.com/hongwei-qin/numatop * [new ref] 5f19c409b995580a22709f54baf44117f1bf17f0 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 5f19c40 update to v2.4