Skip to content

Instantly share code, notes, and snippets.

@jansanchez
Created August 17, 2013 23:47
Show Gist options
  • Save jansanchez/6259212 to your computer and use it in GitHub Desktop.
Save jansanchez/6259212 to your computer and use it in GitHub Desktop.
.gitconfig
[user]
name = Jan Sanchez
email = [email protected]
[credential]
helper = cache --timeout=3600
[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
[apply]
whitespace = fix
[alias]
st = status
pu = pull
ck = checkout
cb = checkout -b
br = branch
cm = commit
ca = commit -am
ad = add .
me = merge
ps = push
or = origin
db= branch -d
lg = log --graph -10
ll = log --graph -30 --pretty=format:'%Cgreen%h %Creset%ad %Cblue%an %Creset%s'
in = fetch --dry-run
out = push --dry-run
[core]
editor = vim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment