$ git clone -n https://src.fedoraproject.org/rpms/kimap.git /var/lib/mock/f40-build-1855220-24981/root/chroot_tmpdir/scmroot/kimap Cloning into '/var/lib/mock/f40-build-1855220-24981/root/chroot_tmpdir/scmroot/kimap'... $ git fetch origin 02ea6f0fe9278831b794a440e9bfb95646b00837:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/kimap * [new ref] 02ea6f0fe9278831b794a440e9bfb95646b00837 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at 02ea6f0 24.05.2