Skip to content

Instantly share code, notes, and snippets.

@vcarel
Last active December 21, 2015 08:29
Show Gist options
  • Save vcarel/6278980 to your computer and use it in GitHub Desktop.
Save vcarel/6278980 to your computer and use it in GitHub Desktop.
Convenient configuration for git.
[color]
ui = true
[core]
editor = vim
[push]
default = simple
[alias]
last = cat-file commit HEAD
cm = commit -a -m\"[refactor] code mort\"
format = commit -a -m\"[refactor] format\"
pep8 = commit -a -m\"[refactor] format : pep8\"
rename = commit -a -m\"[refactor] renommage\"
duplication = commit -a -m\"[refactor] code mort : duplication\"
st = status -s
co = checkout
ci = commit
br = branch -a -v
rb = rebase
rbi = rebase -i
log-stats = log --stat
pretty-log = log --oneline --date-order --graph --all --decorate
topo-log = log --oneline --graph --all --decorate
t = log --oneline --graph --all --decorate -15
spull = !git-svn fetch && git-svn rebase
spush = !git-svn dcommit
diff = diff -p --stat
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment