chore(git): reorder and reformat config
This commit is contained in:
48
git/config
48
git/config
@@ -1,56 +1,50 @@
|
|||||||
[user]
|
[user]
|
||||||
name = Matej Janežič
|
name = Matej Janežič
|
||||||
email = janezic.mj@gmail.com
|
email = janezic.mj@gmail.com
|
||||||
|
signingkey = AF349EECC849D87B790E88FF6318FFB7DB374B7D
|
||||||
|
|
||||||
|
[commit]
|
||||||
|
gpgsign = true
|
||||||
|
|
||||||
|
; NOTE:(@janezicmatej) github/gitlab don't support these
|
||||||
|
; [push]
|
||||||
|
; gpgsign = true
|
||||||
|
|
||||||
[core]
|
[core]
|
||||||
autocrlf = input
|
autocrlf = input
|
||||||
editor = nvim
|
editor = nvim
|
||||||
|
|
||||||
[user]
|
|
||||||
signingkey = AF349EECC849D87B790E88FF6318FFB7DB374B7D
|
|
||||||
|
|
||||||
[commit]
|
|
||||||
gpgsign = true
|
|
||||||
|
|
||||||
; NOTE:(@janezicmatej) github/gitlab don't support these
|
|
||||||
; [push]
|
|
||||||
; gpgsign = true
|
|
||||||
|
|
||||||
[init]
|
[init]
|
||||||
defaultBranch = main
|
defaultBranch = main
|
||||||
|
|
||||||
[alias]
|
|
||||||
blame = "!f() { [ -f .git-blame-ignore-revs ] && git blame --ignore-revs-file .git-blame-ignore-revs \"$@\" || git blame \"$@\"; }; f"
|
|
||||||
|
|
||||||
[diff]
|
[diff]
|
||||||
tool = "nvimdiff"
|
tool = nvimdiff
|
||||||
|
|
||||||
[difftool]
|
|
||||||
prompt = true
|
|
||||||
|
|
||||||
[difftool "nvimdiff"]
|
[difftool "nvimdiff"]
|
||||||
cmd = nvim -d "$LOCAL" "$REMOTE"
|
cmd = nvim -d "$LOCAL" "$REMOTE"
|
||||||
|
|
||||||
[maintenance]
|
|
||||||
auto = true
|
|
||||||
strategy = incremental
|
|
||||||
|
|
||||||
[merge]
|
[merge]
|
||||||
tool = "nvimdiff"
|
tool = nvimdiff
|
||||||
|
|
||||||
[mergetool]
|
[mergetool]
|
||||||
prompt = true
|
|
||||||
keepBackup = false
|
keepBackup = false
|
||||||
writeToTemp = true
|
writeToTemp = true
|
||||||
|
|
||||||
[mergetool "nvimdiff"]
|
[mergetool "nvimdiff"]
|
||||||
layout = "LOCAL,BASE,REMOTE / MERGED"
|
layout = "LOCAL,BASE,REMOTE / MERGED"
|
||||||
|
|
||||||
[includeIf "gitdir:~/git/git.aflabs.org/**"]
|
[alias]
|
||||||
|
blame = "!f() { [ -f .git-blame-ignore-revs ] && git blame --ignore-revs-file .git-blame-ignore-revs \"$@\" || git blame \"$@\"; }; f"
|
||||||
|
|
||||||
|
[maintenance]
|
||||||
|
auto = true
|
||||||
|
strategy = incremental
|
||||||
|
|
||||||
|
[includeIf "gitdir:~/git/git.aflabs.org/"]
|
||||||
path = ~/.config/git/config.d/aflabs.conf
|
path = ~/.config/git/config.d/aflabs.conf
|
||||||
|
|
||||||
[includeIf "gitdir:~/git/gitlab.com/flarenetwork/**"]
|
[includeIf "gitdir:~/git/gitlab.com/flarenetwork/"]
|
||||||
path = ~/.config/git/config.d/flare.conf
|
path = ~/.config/git/config.d/flare.conf
|
||||||
|
|
||||||
[includeIf "gitdir:~/git/gitlab.com/flare-foundation/**"]
|
[includeIf "gitdir:~/git/gitlab.com/flare-foundation/"]
|
||||||
path = ~/.config/git/config.d/flare.conf
|
path = ~/.config/git/config.d/flare.conf
|
||||||
|
|||||||
Reference in New Issue
Block a user