Skip to content

Instantly share code, notes, and snippets.

@jogjayr
Created May 17, 2015 23:20
Show Gist options
  • Save jogjayr/2edfd3da732dceb924d4 to your computer and use it in GitHub Desktop.
Save jogjayr/2edfd3da732dceb924d4 to your computer and use it in GitHub Desktop.
My .gitconfig
[alias]
st = status
di = diff
co = checkout
ci = commit
chp = cherry-pick
br = branch
sta = stash
gr = log --graph --date-order -C -M --pretty=format:\"<%h> %ad [%an] %Cgreen%d%Creset %s\" --all --date=short
[apply]
whitespace = nowarn
[format]
pretty = %Cblue%h%Creset %Cgreen[%ar]%Creset (%an) %s
[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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment