$ git clone -n https://src.fedoraproject.org/rpms/keysmith.git /var/lib/mock/f40-build-802919-144136/root/chroot_tmpdir/scmroot/keysmith Cloning into '/var/lib/mock/f40-build-802919-144136/root/chroot_tmpdir/scmroot/keysmith'... $ git fetch origin cabdcbfe680599213325ab6d5f04d0d8e548a38f:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/keysmith * [new ref] cabdcbfe680599213325ab6d5f04d0d8e548a38f -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at cabdcbf 24.02.1