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]" -}}
|
{{- $hellotech := promptBoolOnce . "hellotech" "include work tools [false]" -}}
|
||||||
{{- $include_legacy := promptBoolOnce . "include_legacy" "include old scripts [false]" -}}
|
{{- $include_legacy := promptBoolOnce . "include_legacy" "include old scripts [false]" -}}
|
||||||
|
|
||||||
[data]
|
[data]
|
||||||
|
development = {{ $development }}
|
||||||
hellotech = {{ $hellotech }}
|
hellotech = {{ $hellotech }}
|
||||||
include_legacy = {{ $include_legacy }}
|
include_legacy = {{ $include_legacy }}
|
||||||
|
|||||||
@ -69,11 +69,13 @@
|
|||||||
[fetch]
|
[fetch]
|
||||||
prune = true
|
prune = true
|
||||||
|
|
||||||
|
#{{ if .development -}}#
|
||||||
[url "ssh://git@git.buddy.wtf"]
|
[url "ssh://git@git.buddy.wtf"]
|
||||||
insteadOf = https://git.buddy.wtf
|
insteadOf = https://git.buddy.wtf
|
||||||
|
|
||||||
[url "ssh://git@git.xbudex.com:2022"]
|
[url "ssh://git@git.xbudex.com:2022"]
|
||||||
insteadOf = https://git.xbudex.com
|
insteadOf = https://git.xbudex.com
|
||||||
|
#{{- end }}#
|
||||||
|
|
||||||
#{{ if .hellotech -}}#
|
#{{ if .hellotech -}}#
|
||||||
[url "git@github.com:HelloTech"]
|
[url "git@github.com:HelloTech"]
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user