Skip to content

Latest commit

 

History

History
17 lines (11 loc) · 318 Bytes

index.md

File metadata and controls

17 lines (11 loc) · 318 Bytes

git show-unreachable

Show logs of unreachable commits

Git alias:

show-unreachable = !"git fsck --unreachable | grep commit | cut -d\" \" -f3 | xargs git log"

Example:

git show-unreachable

This can be useful, for example, when recovering contents of dropped stashes or reset commits.