$ git clone -n https://src.fedoraproject.org/rpms/imhex.git /var/lib/mock/f38-build-side-42-init-devel-983911-29064/root/chroot_tmpdir/scmroot/imhex Cloning into '/var/lib/mock/f38-build-side-42-init-devel-983911-29064/root/chroot_tmpdir/scmroot/imhex'... $ git fetch origin a9cba8dc3982df7af3d00e22f8b4e626e285d177:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/imhex * [new ref] a9cba8dc3982df7af3d00e22f8b4e626e285d177 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at a9cba8d update to 1.28.0