Skip to content

Instantly share code, notes, and snippets.

@ianstarz
Last active August 29, 2015 14:18
Show Gist options
  • Save ianstarz/b1ee38c7f665664494c9 to your computer and use it in GitHub Desktop.
Save ianstarz/b1ee38c7f665664494c9 to your computer and use it in GitHub Desktop.
[core]
editor = subl -n -w
excludesfile = ~/.gitignore_global
[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 -sb
ci = commit
br = branch
co = checkout
df = diff
dc = diff --cached
lg = log -p
lol = log --graph --decorate --pretty=oneline --abbrev-commit
lola = log --graph --decorate --pretty='%h : %ar : %an : %s' --abbrev-commit --all
ls = ls-files
# Show files ignored by git:
ign = ls-files -o -i --exclude-standard
[credential]
helper = cache
[push]
default = tracking
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment