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