Added a sample of .gitconfig file

Signed-off-by: Gaetan Semet <gaetan@xeberon.net>
This commit is contained in:
Gaetan Semet 2013-03-27 10:17:51 +01:00
commit 7828d55185

20
dot_files/gitconfig Normal file
View file

@ -0,0 +1,20 @@
# Please copy this part to your ~/.gitconfig
# or include it if git > 0.7.10
[alias]
commit = commit -s
st = status
ci = commit
br = branch
co = checkout
df = diff
lg = log -p
loo = log --pretty=oneline --abbrev-commit
lol = log --graph --decorate --pretty=oneline --abbrev-commit
lola = log --graph --decorate --pretty=oneline --abbrev-commit --all
rewrite-history = rebase -i HEAD~~
rewrite-history1 = rebase -i HEAD~
rewrite-history2 = rebase -i HEAD~~
rewrite-history3 = rebase -i HEAD~~~
rewrite-history4 = rebase -i HEAD~~~~
rewrite-history5 = rebase -i HEAD~~~~~