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