X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/3d3f25043f3f270a675391237a2a2a73495e1e37..6a2f46b152dd122df40012a487b4f4c2f5e37197:/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'
+
+