Skip to content

Commit 509eab3

Browse files
committed
move config lower
1 parent 40b60ce commit 509eab3

File tree

1 file changed

+13
-13
lines changed

1 file changed

+13
-13
lines changed

git-sisters-update.ps1

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -173,18 +173,6 @@ if (Test-Path ".gitignore"){
173173
# exit #4
174174

175175

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-
188176
cd ${REPONAME}
189177
$CurrentDir = $(get-location).Path;
190178
# This outputs the parent folder, not the current folder:
@@ -194,8 +182,20 @@ $CurrentDir = $(get-location).Path;
194182
echo "******** Now in $REPONAME folder! - cd .. before re-run!"
195183
echo $CURRENTDIR
196184

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" #
198197

198+
# exit #6
199199

200200
echo "******** git remote add upstream $UPSTREAM :"
201201
git remote add upstream ${UPSTREAM}

0 commit comments

Comments
 (0)