Skip to content

Instantly share code, notes, and snippets.

View padeler's full-sized avatar

Panteleris Paschalis padeler

View GitHub Profile
# 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`