Skip to content

Instantly share code, notes, and snippets.

@jpcaruana
Created January 11, 2011 16:48
Show Gist options
  • Save jpcaruana/774692 to your computer and use it in GitHub Desktop.
Save jpcaruana/774692 to your computer and use it in GitHub Desktop.
ma conf de git
[color]
branch = auto
diff = auto
status = auto
interactive = auto
[user]
name = Jean-Philippe CARUANA
email = jp@barreverte.fr
[alias]
last = cat-file commit HEAD
cm = commit -am\"[refactor] code mort\"
duplication = commit -am\"[refactor] code mort : duplication\"
format = commit -am\"[refactor] format\"
st = status --short
co = checkout
br = branch -a --verbose
rb = rebase
rbi = rebase --interactive
pretty-log = log --oneline --date-order --graph --all --decorate
topo-log = log --oneline --graph --all --decorate
lp = log -p
spull = !git-svn fetch && git-svn rebase
spush = !git-svn dcommit
master-push = push origin master
master-pull = pull origin master
k = !gitk
update-remote = !git fetch upstream && git merge upstream/trunk
oops = commit --amend --all -C HEAD
unstage = reset HEAD
uncommit = reset --soft HEAD^
[core]
editor = vim
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment