Windows instructions on https://www.googlesource.com/new-password are wrong |
|||
Issue descriptionThe instructions to add credentials to your .gitcookies file on windows is wrong and doesn't work in CMD or powershell. What is listed is: git config --global http.cookiefile "%USERPROFILE%\.gitcookies" powershell -noprofile -nologo -command Write-Output "chromium.googlesource.com`tFALSE`t/`tTRUE`t2147483647`to`tgit-dougt.chromium.org=1/XXXXXXX chromium-review.googlesource.com`tFALSE`t/`tTRUE`t2147483647`to`tgit-dougt.chromium.org=1/XXXXXXX" >>"%USERPROFILE%\.gitcookies" This will fail because of the line break between the two entries (one for chromium* and the other for chromium-review). My suggestion is to use TWO separate powershell commands which isn't much slower, it's much clearer what's happening, and will avoid the terminal confusing the line break. git config --global http.cookiefile "%USERPROFILE%\.gitcookies" powershell -noprofile -nologo -command Write-Output "chromium.googlesource.com`tFALSE`t/`tTRUE`t2147483647`to`tgit-dougt.chromium.org=1/XXXXXXX" >>"%USERPROFILE%\.gitcookies" powershell -noprofile -nologo -command Write-Output chromium-review.googlesource.com`tFALSE`t/`tTRUE`t2147483647`to`tgit-dougt.chromium.org=1/XXXXXXX" >>"%USERPROFILE%\.gitcookies" I hope this helps!
,
Jul 19 2017
Thanks, forwarding to the folks responsible for this page here: b/63853394
,
Jul 19 2017
Also it looks like running these commands from powershell instead of cmd causes them to not work either.
,
Sep 11 2017
Internal bug has been fixed. |
|||
►
Sign in to add a comment |
|||
Comment 1 by iannucci@chromium.org
, Jul 19 2017Components: -Infra>Git Infra>SDK