Last active
August 29, 2015 14:10
-
-
Save armcknight/f59145e3d9fd1cc7ee92 to your computer and use it in GitHub Desktop.
View pretty git history graph in less
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
#!/bin/sh | |
git log --graph --full-history --all --color \ | |
--pretty=format:"%x1b[31m%h%x09%x1b[32m%d%x1b[0m%x20%s" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
From http://stackoverflow.com/questions/1838873/visualizing-branch-topology-in-git