Home / Go / prevent CI rate limiting for go get of go.googlesource.com edit

As described:https://github.com/golang/go/issues/12933#issuecomment-199429151

My cookie:

touch ~/.gitcookies
chmod 0600 ~/.gitcookies

git config --global http.cookiefile ~/.gitcookies

tr , \\t <<\__END__ >>~/.gitcookies
.googlesource.com,TRUE,/,TRUE,2147483647,o,git-kkowalczyk.gmail.com=1/-5d3lr2YzreAO2G3xP_MBA_97TtHaQNEbcycTv2DMME
__END__

On Windows:

git config --global http.cookiefile "%USERPROFILE%\.gitcookies"
powershell -noprofile -nologo -command Write-Output ".googlesource.com`tTRUE`t/`tTRUE`t2147483647`to`tgit-kkowalczyk.gmail.com=1/-5d3lr2YzreAO2G3xP_MBA_97TtHaQNEbcycTv2DMME" >>"%USERPROFILE%\.gitcookies"
Go to index of articles.

Share on