Skip to content

Instantly share code, notes, and snippets.

@sunew
Created January 30, 2015 17:29
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 sunew/fa68e16bd1268a36f25c to your computer and use it in GitHub Desktop.
Save sunew/fa68e16bd1268a36f25c to your computer and use it in GitHub Desktop.
git config
[user]
name =
email =
[github]
user = sunew
token =
[alias]
co = checkout
st = status
last = log -1 HEAD
rs = remote show
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
lgp = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit -p
chglog = log --pretty=format:'- %s%n [%an]%n' --abbrev-commit
[core]
excludesfile = /home/sune/.gitignore_global
[color]
branch = auto
diff = auto
status = auto
[color "branch"]
current = yellow reverse
local = yellow
remote = green
[color "diff"]
meta = yellow bold
frag = magenta bold
old = red
new = cyan
[color "status"]
added = yellow
changed = green
untracked = cyan
[push]
default = simple
[merge]
tool = meld
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment