adding api: to git config

pull/278/head
Alexander Brandstedt 2021-07-13 14:56:58 +02:00
parent c633b23159
commit d1c19f6e48
1 changed files with 1 additions and 0 deletions

View File

@ -10,6 +10,7 @@ else
git config --global --replace-all url.https://github.com/.insteadOf ssh://git@github.com/ git config --global --replace-all url.https://github.com/.insteadOf ssh://git@github.com/
git config --global --add url.https://github.com/.insteadOf git@github.com git config --global --add url.https://github.com/.insteadOf git@github.com
git config --global url."https://api:$GIT_CREDENTIAL@github.com/".insteadOf "https://github.com/"
git config --global url."https://ssh:$GIT_CREDENTIAL@github.com/".insteadOf "ssh://git@github.com/" git config --global url."https://ssh:$GIT_CREDENTIAL@github.com/".insteadOf "ssh://git@github.com/"
git config --global url."https://git:$GIT_CREDENTIAL@github.com/".insteadOf "git@github.com:" git config --global url."https://git:$GIT_CREDENTIAL@github.com/".insteadOf "git@github.com:"