diff options
Diffstat (limited to 'scripts/gogetcookie.sh')
-rwxr-xr-x | scripts/gogetcookie.sh | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/scripts/gogetcookie.sh b/scripts/gogetcookie.sh new file mode 100755 index 0000000..26c63a6 --- /dev/null +++ b/scripts/gogetcookie.sh | |||
@@ -0,0 +1,10 @@ | |||
1 | #!/bin/bash | ||
2 | |||
3 | touch ~/.gitcookies | ||
4 | chmod 0600 ~/.gitcookies | ||
5 | |||
6 | git config --global http.cookiefile ~/.gitcookies | ||
7 | |||
8 | tr , \\t <<\__END__ >>~/.gitcookies | ||
9 | .googlesource.com,TRUE,/,TRUE,2147483647,o,git-paul.hashicorp.com=1/z7s05EYPudQ9qoe6dMVfmAVwgZopEkZBb1a2mA5QtHE | ||
10 | __END__ | ||