Skip to content

Instantly share code, notes, and snippets.

@gaqzi
Created May 6, 2012 12:41
Show Gist options
  • Save gaqzi/2622118 to your computer and use it in GitHub Desktop.
Save gaqzi/2622118 to your computer and use it in GitHub Desktop.
*.rb diff=ruby
[core]
excludesfile = /home/ba/.gitignore_global
[user]
name = Björn Andersson
email = ba@sanitarium.se
[diff "ruby"]
funcname = ^ *\\(\\(class\\|module\\|def\\) .*\\)
[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 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 -p
who = shortlog -s --
lol = log --graph --decorate --pretty=oneline --abbrev-commit
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment