6619: git config update
[arvados.git] / doc / user / tutorials / tutorial-submit-job.html.textile.liquid
index 8acf205e568b4fd8635ad6998d6e2f1d2a949ae9..a77273763db045473c791c1e8d6dab42cf0c02c3 100644 (file)
@@ -37,6 +37,15 @@ Cloning into 'tutorial'...</code></pre>
 This will create a Git repository in the directory called @tutorial@ in your home directory. Say yes when prompted to continue with connection.
 Ignore any warning that you are cloning an empty repository.
 
+*Note:* If you are prompted for username and password when you try to git clone using this command, you may first need to update your git configuration. Execute the following commands to update your git configuration.
+
+<notextile>
+<pre>
+<code>~$ <span class="userinput">git config 'credential.https://git.{{ site.arvados_api_host }}/.username' none</span></code>
+<code>~$ <span class="userinput">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'</span></code>
+</pre>
+</notextile>
+
 {% include 'notebox_begin' %}
 For more information about using Git, try