Guest User

Untitled

a guest
Aug 30th, 2016
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.39 KB | None | 0 0
  1. ##
  2. # Creates an alias called "git hist" that outputs a nicely formatted git log.
  3. # Usage is just like "git log"
  4. # Examples:
  5. # git hist
  6. # git hist -5
  7. # git hist <branch_name>
  8. # git hist <tag_name> -10
  9. ##
  10. git config --global alias.hist "log --pretty=format:'%C(yellow)[%ad]%C(reset) %C(green)[%h]%C(reset) | %C(red)%s %C(bold red){{%an}}%C(reset) %C(blue)%d%C(reset)' --graph --date=short"
Add Comment
Please, Sign In to add comment