From 78e3248417510aecbac9e66a22d48e32a80181bf Mon Sep 17 00:00:00 2001 From: radhika Date: Mon, 20 Jul 2015 10:32:04 -0400 Subject: [PATCH] 6619: add git config to shell setup page. --- .../install-shell-server.html.textile.liquid | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/doc/install/install-shell-server.html.textile.liquid b/doc/install/install-shell-server.html.textile.liquid index 1e72e5eec8..c760e7d764 100644 --- a/doc/install/install-shell-server.html.textile.liquid +++ b/doc/install/install-shell-server.html.textile.liquid @@ -43,3 +43,16 @@ On Red Hat-based systems: {% include 'note_python27_sc' %} + +h2. Update Git Config + +Configure git to use the ARVADOS_API_TOKEN environment variable to authenticate to gitolite. + +Execute the following commands to setup the needed configuration. + + +
+~$ git config 'credential.https://git.{{ site.arvados_api_host }}/.username' none
+~$ git config 'credential.https://git.{{ site.arvados_api_host }}/.helper' '!cred(){ cat >/dev/null; if [ "$1" = get ]; then echo password=$ARVADOS_API_TOKEN; fi; };cred'
+
+
-- 2.30.2