Created
October 9, 2014 06:38
-
-
Save cotcotquedec/3e67c3a0e3da3c055d70 to your computer and use it in GitHub Desktop.
Fichier de configuration git
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[user] | |
name = TON_NOM | |
email = TON_EMAIL_A_TOI | |
[alias] | |
st = status | |
one = log --pretty=oneline --abbrev-commit --graph --decorate | |
ct = checkout -t | |
cm = checkout master | |
b = branch | |
bd = branch -d | |
br = branch -r | |
fo = fetch origin | |
co = commit -am | |
cb = checkout -b | |
up = !sh -c 'git remote prune origin && git fo' | |
import = !sh -c 'git checkout -t origin/$0' | |
deploy = !sh -c 'git import $0 && git rebase $1 && git checkout $1 && git merge $0 && git push origin :$0 && git bd $0' | |
[merge] | |
ff = only | |
[color] | |
ui = auto | |
[color "branch"] | |
current = yellow reverse bold | |
local = yellow bold | |
remote = green bold | |
[color "diff"] | |
meta = yellow bold | |
frag = magenta bold | |
old = red bold | |
new = green bold | |
[color "status"] | |
added = yellow bold | |
changed = green bold | |
untracked = cyan bold |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment