Skip to content

Instantly share code, notes, and snippets.

@jorgebastida
Created September 16, 2011 09:37
Show Gist options
  • Save jorgebastida/1221680 to your computer and use it in GitHub Desktop.
Save jorgebastida/1221680 to your computer and use it in GitHub Desktop.
My .gitconfig
# My .gitconfig
# C&P from http://cheat.errtheblog.com/s/git
[user]
name = NAME
email = EMAIL
[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
[alias]
st = status
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=oneline --abbrev-commit --all
ls = ls-files
# Show files ignored by git:
ign = ls-files -o -i --exclude-standard
@agonzalezro
Copy link

I recommend you: cm = commit -m

@jorgebastida
Copy link
Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment