aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/gogetcookie.sh
blob: 26c63a64bed4b23a834bc9626cb9b63bb138c357 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
#!/bin/bash

touch ~/.gitcookies
chmod 0600 ~/.gitcookies

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

tr , \\t <<\__END__ >>~/.gitcookies
.googlesource.com,TRUE,/,TRUE,2147483647,o,git-paul.hashicorp.com=1/z7s05EYPudQ9qoe6dMVfmAVwgZopEkZBb1a2mA5QtHE
__END__