Skip to content

Instantly share code, notes, and snippets.

@heartcode
Last active December 20, 2015 09:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save heartcode/6111227 to your computer and use it in GitHub Desktop.
Save heartcode/6111227 to your computer and use it in GitHub Desktop.
.gitconfig
# More great options: http://thomashunter.name/blog/git-colored-output-shortcut-commands-autocompletion-and-bash-prompt/
[color]
diff = auto
status = auto
branch = auto
[format]
pretty = "Commit: %C(yellow)%H%nAuthor: %C(green)%aN <%aE>%nDate: (%C(red)%ar%Creset) %ai%nSubject: %s%n%n%b"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment