This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Put this in your .gitconfig file under the alias section | |
orphank = !gitk --all `git reflog | cut -d " " -f 1`& | |
# Then run it by typing 'git orphank' on the command line. | |
# A text version of the same is | |
orphanl = !git log --pretty=oneline --abbrev-commit --graph --decorate `git reflog | cut -d " " -f 1` |