$ git clone -n https://src.fedoraproject.org/rpms/keysmith.git /var/lib/mock/f41-build-846312-163038/root/chroot_tmpdir/scmroot/keysmith Cloning into '/var/lib/mock/f41-build-846312-163038/root/chroot_tmpdir/scmroot/keysmith'... $ git fetch origin c0863b0f8e63765f13362b6cf165d82af9da60c1:KOJI_FETCH_HEAD From https://src.fedoraproject.org/rpms/keysmith * [new ref] c0863b0f8e63765f13362b6cf165d82af9da60c1 -> KOJI_FETCH_HEAD $ git reset --hard KOJI_FETCH_HEAD HEAD is now at c0863b0 24.08.0