Skip to content

Instantly share code, notes, and snippets.

@rodesousa
Last active November 7, 2017 14:23
Show Gist options
  • Select an option

  • Save rodesousa/95db0f72de262c4e2582 to your computer and use it in GitHub Desktop.

Select an option

Save rodesousa/95db0f72de262c4e2582 to your computer and use it in GitHub Desktop.
# 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