X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/770927dbfa1fb16b3075d1581dc66f4e7a623631..c0893f609643a73950957c0aa228f167579951d7:/doc/install/install-shell-server.html.textile.liquid diff --git a/doc/install/install-shell-server.html.textile.liquid b/doc/install/install-shell-server.html.textile.liquid index 1e72e5eec8..71e6b01f20 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 arv-git-httpd. + +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'
+
+