$ git clone -n https://gitee.com/guost123/highway_update.git /var/lib/mock/dist-an23-build-441945-73171/root/chroot_tmpdir/scmroot/highway_update Cloning into '/var/lib/mock/dist-an23-build-441945-73171/root/chroot_tmpdir/scmroot/highway_update'... $ git fetch origin b323488df2eeb1192ca17634f56bbbb40952e0e3:KOJI_FETCH_HEAD From https://gitee.com/guost123/highway_update * [new ref] b323488df2eeb1192ca17634f56bbbb40952e0e3 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at b323488 update to 1.2.0