Skip to content

Instantly share code, notes, and snippets.

@ethers
Last active August 29, 2015 14:00
Show Gist options
  • Save ethers/11127514 to your computer and use it in GitHub Desktop.
Save ethers/11127514 to your computer and use it in GitHub Desktop.
git config
[alias]
bra = branch -a
ci = commit
co = checkout
df = diff
last = log -1 HEAD
l = log --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
lp = log -p --color --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr) %C(bold blue)<%an>%Creset' --abbrev-commit
st = status
unstage = reset HEAD --
visual = "!gitk"
[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
whitespace = red reverse
[color "status"]
added = yellow
changed = green
untracked = cyan
[user]
email = <TODO>
name = <TODO>
[diff]
tool = compare-object
[push]
default = simple
[core]
editor = vim
[merge]
ff = no
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment