fix(git): includeif config location and syntax
This commit is contained in:
5
.gitignore
vendored
5
.gitignore
vendored
@@ -42,7 +42,10 @@ tmux/*
|
|||||||
git/*
|
git/*
|
||||||
!git/config
|
!git/config
|
||||||
!git/ignore
|
!git/ignore
|
||||||
!git/aflabs
|
!git/config.d
|
||||||
|
git/config.d/*
|
||||||
|
!git/config.d/aflabs.conf
|
||||||
|
!git/config.d/flare.conf
|
||||||
|
|
||||||
# ghostty
|
# ghostty
|
||||||
!ghostty
|
!ghostty
|
||||||
|
|||||||
18
git/config
18
git/config
@@ -1,12 +1,3 @@
|
|||||||
[includeIf "gitdir:~/Desktop/git/git.aflabs.org/"]
|
|
||||||
path = ~/.config/git/config.d/aflabs.conf
|
|
||||||
|
|
||||||
[includeIf "gitdir:~/Desktop/git/gitlab.com/flarenetwork"]
|
|
||||||
path = ~/.config/git/config.d/flare.conf
|
|
||||||
|
|
||||||
[includeIf "gitdir:~/Desktop/git/gitlab.com/flare-foundation"]
|
|
||||||
path = ~/.config/git/config.d/flare.conf
|
|
||||||
|
|
||||||
[user]
|
[user]
|
||||||
name = Matej Janežič
|
name = Matej Janežič
|
||||||
email = janezic.mj@gmail.com
|
email = janezic.mj@gmail.com
|
||||||
@@ -54,3 +45,12 @@
|
|||||||
|
|
||||||
[mergetool "nvimdiff"]
|
[mergetool "nvimdiff"]
|
||||||
layout = "LOCAL,BASE,REMOTE / MERGED"
|
layout = "LOCAL,BASE,REMOTE / MERGED"
|
||||||
|
|
||||||
|
[includeIf "gitdir:~/git/git.aflabs.org/**"]
|
||||||
|
path = ~/.config/git/config.d/aflabs.conf
|
||||||
|
|
||||||
|
[includeIf "gitdir:~/git/gitlab.com/flarenetwork/**"]
|
||||||
|
path = ~/.config/git/config.d/flare.conf
|
||||||
|
|
||||||
|
[includeIf "gitdir:~/git/gitlab.com/flare-foundation/**"]
|
||||||
|
path = ~/.config/git/config.d/flare.conf
|
||||||
|
|||||||
2
git/config.d/aflabs.conf
Normal file
2
git/config.d/aflabs.conf
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
[user]
|
||||||
|
email = matej.janezic@aflabs.com
|
||||||
2
git/config.d/flare.conf
Normal file
2
git/config.d/flare.conf
Normal file
@@ -0,0 +1,2 @@
|
|||||||
|
[user]
|
||||||
|
email = matej@flare.network
|
||||||
Reference in New Issue
Block a user