@@ -173,18 +173,6 @@ if (Test-Path ".gitignore"){
173
173
# exit #4
174
174
175
175
176
- echo " ******** Run PowerShell file for Git configurations at the repo level:"
177
- $ScriptPath = Split-Path $MyInvocation.InvocationName
178
- Write-Host " Path:" $MyInvocation.MyCommand.Path
179
- # NOTE: PowerShell accepts both forward and backward slashes:
180
- & ((Split-Path $MyInvocation.InvocationName ) + ' /git_client-config.ps1' )
181
- # Alternately, use & to run scripts in same scope:
182
- # & "../git_client-config.ps1 global" #
183
- # Alternately, use . to run scripts in child scope that will be thrown away:
184
- # . "../git_client-config.ps1 global" #
185
-
186
- # exit #5
187
-
188
176
cd ${REPONAME}
189
177
$CurrentDir = $ (get-location ).Path;
190
178
# This outputs the parent folder, not the current folder:
@@ -194,8 +182,20 @@ $CurrentDir = $(get-location).Path;
194
182
echo " ******** Now in $REPONAME folder! - cd .. before re-run!"
195
183
echo $CURRENTDIR
196
184
197
- # exit #6
185
+ # exit #5
186
+
187
+
188
+ echo " ******** Run PowerShell file for Git configurations at the repo level:"
189
+ $ScriptPath = Split-Path $MyInvocation.InvocationName
190
+ Write-Host " Path:" $MyInvocation.MyCommand.Path
191
+ # NOTE: PowerShell accepts both forward and backward slashes:
192
+ & ((Split-Path $MyInvocation.InvocationName ) + ' /git_client-config.ps1' )
193
+ # Alternately, use & to run scripts in same scope:
194
+ # & "../git_client-config.ps1 global" #
195
+ # Alternately, use . to run scripts in child scope that will be thrown away:
196
+ # . "../git_client-config.ps1 global" #
198
197
198
+ # exit #6
199
199
200
200
echo " ******** git remote add upstream $UPSTREAM :"
201
201
git remote add upstream ${UPSTREAM}
0 commit comments