Skip to content

Commit a8469eb

Browse files
committed
gitconfig: fix brew update on taps with conditional ssh key
Signed-off-by: clux <[email protected]>
1 parent 7468b4d commit a8469eb

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

.gitconfig

+5-2
Original file line numberDiff line numberDiff line change
@@ -111,8 +111,11 @@
111111
[includeIf "gitdir:~/truelayer/"]
112112
path = ~/.gitconfig-tl.inc
113113
[includeIf "gitdir:/opt/homebrew/Library/Taps/truelayer/"]
114-
# this is annoyingly not picked up on by brew update, but you can still brew install truelayer/internal/X
115-
path = ~/.gitconfig-tl.inc
114+
; needed for brew tap to work
115+
path = ~/.gitconfig-tl.inc
116+
[includeIf "hasconfig:remote.*.url:https://github.com/truelayer/**"]
117+
; needed for brew update to work on taps
118+
path = ~/.gitconfig-tl.inc
116119
; include for all repositories inside ~/repos and ~/kube
117120
[includeIf "gitdir:~/repos/"]
118121
path = ~/.gitconfig-clux.inc

0 commit comments

Comments
 (0)