Only include git repos if in development machine
This commit is contained in:
parent
84a09058d0
commit
feb8dbfb68
@ -1,6 +1,8 @@
|
||||
{{- $development := promptBoolOnce . "development" "is this a development environment [false]" -}}
|
||||
{{- $hellotech := promptBoolOnce . "hellotech" "include work tools [false]" -}}
|
||||
{{- $include_legacy := promptBoolOnce . "include_legacy" "include old scripts [false]" -}}
|
||||
|
||||
[data]
|
||||
development = {{ $development }}
|
||||
hellotech = {{ $hellotech }}
|
||||
include_legacy = {{ $include_legacy }}
|
||||
|
||||
@ -69,11 +69,13 @@
|
||||
[fetch]
|
||||
prune = true
|
||||
|
||||
#{{ if .development -}}#
|
||||
[url "ssh://git@git.buddy.wtf"]
|
||||
insteadOf = https://git.buddy.wtf
|
||||
|
||||
[url "ssh://git@git.xbudex.com:2022"]
|
||||
insteadOf = https://git.xbudex.com
|
||||
#{{- end }}#
|
||||
|
||||
#{{ if .hellotech -}}#
|
||||
[url "git@github.com:HelloTech"]
|
||||
|
||||
Loading…
Reference in New Issue
Block a user