Skip to content

Instantly share code, notes, and snippets.

@xen
Created June 19, 2012 08:39
Show Gist options
  • Select an option

  • Save xen/2953049 to your computer and use it in GitHub Desktop.

Select an option

Save xen/2953049 to your computer and use it in GitHub Desktop.
[user]
name = xen
email = ***@xen.ru #masked
[color]
ui = auto
[color "branch"]
current = yellow reverse
local = yellow
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]
st = status
ci = commit
br = branch
co = checkout
df = diff
lg = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit --
#lg = log -p
lol = log --graph --decorate --pretty=oneline --abbrev-commit
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
ls = ls-files
hist = log --pretty=format:\"%h %ad | %s%d [%an]\" --graph --date=short
[achievement]
upload = true
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment