Skip to content

Instantly share code, notes, and snippets.

@matiasherranz
Last active December 23, 2015 20:59
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 matiasherranz/6693100 to your computer and use it in GitHub Desktop.
Save matiasherranz/6693100 to your computer and use it in GitHub Desktop.
Colours for GIT
[user]
name = Your Full Name
email = youremail@somemail.com
[alias]
conflicts = diff --name-only --diff-filter=U
st = status -s
ci = commit
br = branch
co = checkout
df = diff
lg = log --color --graph --pretty=format:'%h %C(blue)(%cr) %C(bold blue)<%an>%C(reset)%C(red)%d%C(reset) %s' --abbrev-commit --
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = blue bold
frag = magenta bold
old = red bold
new = green bold
whitespace = red reverse
[color "status"]
added = yellow
changed = green
untracked = cyan
[color]
ui = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment