File tree 2 files changed +6
-6
lines changed 2 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 5
5
Write-Host " GIT_PRIVATE_TOKEN is set configuring git credentials"
6
6
7
7
git config -- global credential.helper store
8
- git config -- global - -replace - all " url.https://token:$env: GIT_PRIVATE_TOKEN @github.com/" .insteadOf " ssh://git@github.com/"
9
- git config -- global -- add " url.https://token:$env: GIT_PRIVATE_TOKEN @github.com/" .insteadOf " git@github.com"
10
- git config -- global -- add " url.https://token:$env: GIT_PRIVATE_TOKEN @github.com/" .insteadOf " https://github.com/"
8
+ git config -- global - -replace - all url." https://token:$env: GIT_PRIVATE_TOKEN @github.com/" .insteadOf " ssh://git@github.com/"
9
+ git config -- global -- add url." https://token:$env: GIT_PRIVATE_TOKEN @github.com/" .insteadOf " git@github.com"
10
+ git config -- global -- add url." https://token:$env: GIT_PRIVATE_TOKEN @github.com/" .insteadOf " https://github.com/"
11
11
12
- git config -- global " url.https://ssh:$env: GIT_PRIVATE_TOKEN @github.com/" .insteadOf " ssh://git@github.com/"
13
- git config -- global " url.https://git:$env: GIT_PRIVATE_TOKEN @github.com/" .insteadOf " git@github.com:"
12
+ git config -- global url." https://ssh:$env: GIT_PRIVATE_TOKEN @github.com/" .insteadOf " ssh://git@github.com/"
13
+ git config -- global url." https://git:$env: GIT_PRIVATE_TOKEN @github.com/" .insteadOf " git@github.com:"
14
14
}
15
15
16
16
Write-Host " ---------- git config --list -------------"
You can’t perform that action at this time.
0 commit comments