Last active
November 20, 2019 12:48
-
-
Save apieum/7135690 to your computer and use it in GitHub Desktop.
~/.gitconfig
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
[alias] | |
co = commit | |
ca = commit -a | |
amend = commit --amend | |
st = status | |
who = shortlog -sne | |
oneline = log --pretty=oneline --abbrev-commit --graph | |
changes = diff --name-status | |
dic = diff --cached | |
diffstat = diff --stat | |
lc = !git oneline ORIG_HEAD.. --stat --no-merges | |
addm = !git-ls-files -m -z | xargs -0 git-add && git status | |
addu = !git-ls-files -o --exclude-standard -z | xargs -0 git-add && git status | |
rmm = !git ls-files -d -z | xargs -0 git-rm && git status | |
[user] | |
name = Grégory Salvan | |
mail = apieum@gmail.com | |
email = apieum@gmail.com | |
[core] | |
editor = vim | |
excludesfile = ~/.gitignore | |
whitespace=fix,-indent-with-non-tab,trailing-space,cr-at-eol | |
[push] | |
default = current | |
[color] | |
ui = auto | |
diff = auto | |
status = auto | |
branch = auto | |
interactive = auto | |
pager = true |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment