.gitconfig: split up into included files
This commit is contained in:
parent
e7b81669dd
commit
3dcd8106cd
31
.gitconfig
31
.gitconfig
|
|
@ -1,23 +1,8 @@
|
||||||
[user]
|
# Include common settings (default branch, diff tools, aliases...)
|
||||||
name = binaryDiv
|
[include]
|
||||||
email = binarydiv@gmail.com
|
path = ~/.gitconfig.inc/common.gitconfig
|
||||||
signingkey = F8D4956E224DA232
|
|
||||||
[credentials]
|
# Include default user settings
|
||||||
name = binaryDiv
|
[include]
|
||||||
[diff]
|
path = ~/.gitconfig.inc/user_binaryDiv.gitconfig
|
||||||
tool = vimdiff
|
|
||||||
guitool = gvimdiff
|
|
||||||
[commit]
|
|
||||||
gpgsign = true
|
|
||||||
[alias]
|
|
||||||
tree = log --all --graph --decorate --oneline
|
|
||||||
[pager]
|
|
||||||
branch = false
|
|
||||||
config = false
|
|
||||||
stash = false
|
|
||||||
[diff "ansible-vault"]
|
|
||||||
textconv = ansible-vault view
|
|
||||||
[pull]
|
|
||||||
ff = only
|
|
||||||
[init]
|
|
||||||
defaultBranch = main
|
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,20 @@
|
||||||
|
[init]
|
||||||
|
defaultBranch = main
|
||||||
|
|
||||||
|
[pull]
|
||||||
|
ff = only
|
||||||
|
|
||||||
|
[pager]
|
||||||
|
branch = false
|
||||||
|
config = false
|
||||||
|
stash = false
|
||||||
|
|
||||||
|
[diff]
|
||||||
|
tool = vimdiff
|
||||||
|
guitool = gvimdiff
|
||||||
|
|
||||||
|
[diff "ansible-vault"]
|
||||||
|
textconv = ansible-vault view
|
||||||
|
|
||||||
|
[alias]
|
||||||
|
graph = log --all --graph --decorate --oneline
|
||||||
|
|
@ -0,0 +1,8 @@
|
||||||
|
[user]
|
||||||
|
name = binaryDiv
|
||||||
|
email = binarydiv@gmail.com
|
||||||
|
signingkey = F8D4956E224DA232
|
||||||
|
[credentials]
|
||||||
|
name = binaryDiv
|
||||||
|
[commit]
|
||||||
|
gpgsign = true
|
||||||
Loading…
Reference in New Issue