Last active
November 7, 2017 14:23
-
-
Save rodesousa/95db0f72de262c4e2582 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| # config | |
| git config --global user.name "rodesousa" && git config --global user.email dessroberto@gmail.com | |
| git config --global core.editor "vim" | |
| # Pour convertir les retours à la ligne Windows -> Linux | |
| git config --global core.autocrlf true | |
| # alias | |
| git config --global alias.cmm "commit -s -m" | |
| git config --global alias.cma "commit --amend" | |
| git config --global alias.cman "commit --amend --no-edit" | |
| git config --global alias.ck "checkout" | |
| git config --global alias.st "status" | |
| git config --global alias.stu "status -u" | |
| git config --global alias.lg "log --oneline --graph --decorate --color" | |
| git config --global alias.st "status" | |
| git config --global alias.aa "add -A" | |
| git config --global alias.pr "pull --rebase" | |
| git config --global alias.p "push" | |
| git config --global alias.au "add -u" | |
| [user] | |
| > name = rodesousa | |
| > email = dessroberto@gmail.com | |
| [core] | |
| > autocrlf = input | |
| > editor = nvim | |
| > trustctime = false | |
| pager = diff-so-fancy | less --tabs=1,5 -R | |
| [alias] | |
| > cmm = commit -m | |
| > cma = commit --amend | |
| > ck = checkout | |
| > st = status | |
| > stu = status -u | |
| > lg = log --oneline --graph --decorate --color | |
| > aa = add -A | |
| > pr = pull --rebase | |
| > cman = commit --amend --no-edit | |
| > p = push | |
| > au = add -u | |
| ce = config --global -e | |
| [includeIf "gitdir:~/ritmx/"] | |
| path = ~/.gitritmx |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment