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