Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
diff = auto
status = auto
branch = auto
[color "branch"]
current = yellow reverse
local = yellow
[color "diff"]
meta = yellow
frag = magenta bold
old = red bold
new = green bold
[color "status"]
added = yellow
changed = green
untracked = cyan
name = <Your Name Here>
email = <Your Email Address Here>
relativePaths = false
excludesfile = </Path/to/home/directory/.gitignore>
pager = less -FRSX
d = diff
dc = diff --cached
lc = log ORIG_HEAD.. --stat --no-merges
gl = log --decorate --stat --graph --pretty=format:'%C(yellow)%h%Creset (%ar - %Cred%an%Creset), %s%n'
st = status -sb
serve = !git daemon --reuseaddr --verbose --base-path=. --export-all ./.git
prune-all = !git remote | xargs -n 1 git remote prune
whatis = show -s --pretty='tformat:%h (%s, %ad)' --date=short
whois = "!sh -c 'git log -i -1 --pretty=\"format:%an <%ae>\n\" --author=\"$1\"' -"
user = <Your User Name Here>
token = <Your token Here>

jimiyash commented Aug 2, 2010

very cool. I also use
co = checkout
ci = commit

because I am used to those svn aliases

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