Skip to content

Instantly share code, notes, and snippets.

@mmodrow
Created November 5, 2025 16:26
Show Gist options
  • Select an option

  • Save mmodrow/5a12d6c95683de72c48243e90a80dd6b to your computer and use it in GitHub Desktop.

Select an option

Save mmodrow/5a12d6c95683de72c48243e90a80dd6b to your computer and use it in GitHub Desktop.
git fsck --lost-found | grep "^dangling commit" | sed "s/^dangling commit //g" | xargs git show -s --oneline
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment