conf/.gitconfig

38 lines
715 B
INI

[color]
diff = auto
status = auto
branch = auto
[user]
name = Pierre-Olivier Mercier
email = nemunaire@nemunai.re
[alias]
a = add
c = commit -a
k = checkout
br = branch
ci = commit
ca = commit --amend
st = status -sb
graph = log --graph --oneline --branches --all --decorate
unstage = reset HEAD
uncommit = reset --soft HEAD^
wdiff = diff --word-diff
lastdiff = diff HEAD^ HEAD
[core]
editor = emacs -nw
excludesfile = ~/.gitignore
autocrlf = input
[push]
default = matching
[rebase]
autostash = true
[credential]
helper = store
[filter "lfs"]
clean = git-lfs clean -- %f
smudge = git-lfs smudge -- %f
process = git-lfs filter-process
required = true
[init]
defaultBranch = master