Skip to content

Instantly share code, notes, and snippets.

@ehabkost
Created September 13, 2010 14:27
Show Gist options
  • Save ehabkost/577358 to your computer and use it in GitHub Desktop.
Save ehabkost/577358 to your computer and use it in GitHub Desktop.
my .gitconfig
[rerere]
enabled = true
[format]
numbered = auto
[sendemail]
chainreplyto = 0
suppressfrom = 1
suppresscc = all
signedoffcc = 0
[push]
default=current
[color]
ui=1
[alias]
l=log
ld=log --decorate --graph --date=relative
l1=log --pretty=oneline
l1r=log --pretty=oneline --reverse
lx=log --graph --pretty=format:'%Cred%h%Creset -%C(yellow)%d%Creset %s %Cgreen(%cr)%Creset' --abbrev-commit --date=relative
b=branch
br=branch
brd=branch -d
d=diff
dc=diff --cached
st=status
sh=show
wc=whatchanged
lf=ls-files
lfu=ls-files -u
rp=request-pull
fp1=format-patch -1
fp=format-patch
fpc=format-patch --cover-letter
f=fetch
ru=remote update
ruv=remote -v update
rvu=remote -v update
rb=rebase
ri=rebase -i
ra=rebase --abort
rc=rebase --continue
rs=rebase --skip
a3=am -3
a3r=am -3 --resolved
a3a=am -3 --abort
a3s=am -3 --skip
p=pull
pr=pull --rebase
cp=cherry-pick
co=checkout
ci=commit -s
ca=commit -a -s
cia=commit --amend
caa=commit -a --amend
rst=reset
ap=add -p
ad=add
bis=bisect
big=bisect good
bib=bisect bad
[commit]
signoff=yes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment