Skip to content

Instantly share code, notes, and snippets.

@mrmrs
Created January 17, 2014 23:09
Show Gist options
  • Save mrmrs/8483388 to your computer and use it in GitHub Desktop.
Save mrmrs/8483388 to your computer and use it in GitHub Desktop.
[user]
name = mrmrs
email = [email protected]
[alias]
br = branch
ci = commit
co = checkout
df = diff
g = grep -I
log = log -p
lg = log --graph --all --format=format:'%C(bold blue)%h%C(reset) - %C(bold green)(%ar)%C(reset) %C(white)%s%C(reset) %C(bold white)— %an%C(reset)%C(bold yellow)%d%C(reset)' --abbrev-commit --date=relative
st = status
pom = push origin master
pomu = push -u origin master
dt = "!f() { vim -p $(git diff --name-only) +\"tabdo Gdiff $@\" +tabfirst; }; f" }
[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
[merge]
log = true
[core]
excludesfile = ~/.gitignore
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment