aboutsummaryrefslogtreecommitdiffhomepage
path: root/scripts/gogetcookie.sh
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/gogetcookie.sh')
-rwxr-xr-xscripts/gogetcookie.sh10
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
3touch ~/.gitcookies
4chmod 0600 ~/.gitcookies
5
6git config --global http.cookiefile ~/.gitcookies
7
8tr , \\t <<\__END__ >>~/.gitcookies
9.googlesource.com,TRUE,/,TRUE,2147483647,o,git-paul.hashicorp.com=1/z7s05EYPudQ9qoe6dMVfmAVwgZopEkZBb1a2mA5QtHE
10__END__