Skip to content

Instantly share code, notes, and snippets.

@bmnn
Last active December 29, 2015 19:49
Show Gist options
  • Save bmnn/7719649 to your computer and use it in GitHub Desktop.
Save bmnn/7719649 to your computer and use it in GitHub Desktop.
git; alias; colors; config;
# user {{{
[user]
email = [email protected]
name = mchl@envy
# }}}
# color {{{
[color]
branch = auto
diff = auto
status = auto
[color "branch"]
current = red reverse
local = blue
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = cyan
# }}}
# alias {{{
[alias]
sT = status
cM = commit
cA = commit --amend
cO = checkout
lL = log --pretty=format:"%C(yellow)%h%Cred%d\\ %Creset%s%Cblue\\ [%cn]" --decorate --numstat
# }}}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment