Skip to content

Instantly share code, notes, and snippets.

@padeler
Forked from matthewmccullough/gist:988077
Last active March 20, 2016 10:32
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save padeler/9f1057e1a96095d4cc6a to your computer and use it in GitHub Desktop.
Save padeler/9f1057e1a96095d4cc6a to your computer and use it in GitHub Desktop.
# 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`
* a17bf55 (HEAD, master) Placeholder
* 8d2636d (origin/master, origin/HEAD) Added text about image diff example
| * 7c0ffa9 (origin/feature_image, feature_image) Made changes to an image to sh
| * 7c1bf73 Created an image to be used for web image diffing on GitHub
|/
| * d5f4cdc Made changes to an image to show GitHub web image diffing.
| * 2a354dd Created an image to be used for web image diffing on GitHub
| | * e9eb5b9 Made changes to an image to show GitHub web image diffing.
| | * 417a71b Created an image to be used for web image diffing on GitHub
| | | * 9648459 Made changes to an image to show GitHub web image diffing.
| | | | * 1aad461 Changes to image
| | | |/
| | | * b5e6eb5 Created an image to be used for web image diffing on GitHub
| | | | * 6dc1b97 Image 1
| | | |/
| | | | * 9915b4e Changes to image
| | | | * e64fb9d Image 1
| | | | * 9a53b8e Good change from mattaltego
| | | | * 2961fee Revert "Main feature"
| | | |/
| | | | * d7b2900 Changes to image
| | | | * 949320c Image 1
| | | | * 3462650 Merge branch 'master' of github.com:matthewmccullough/hellog
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment