X-Git-Url: https://git.arvados.org/arvados.git/blobdiff_plain/39c9193f03471aa7826769b34d6b55890a2c98a3..e2d819b5216b056137fcc7863f788440a37a452d:/doc/user/tutorials/git-arvados-guide.html.textile.liquid?ds=sidebyside
diff --git a/doc/user/tutorials/git-arvados-guide.html.textile.liquid b/doc/user/tutorials/git-arvados-guide.html.textile.liquid
index 482d8d5244..a552e4ee00 100644
--- a/doc/user/tutorials/git-arvados-guide.html.textile.liquid
+++ b/doc/user/tutorials/git-arvados-guide.html.textile.liquid
@@ -3,16 +3,19 @@ layout: default
navsection: userguide
title: Working with an Arvados git repository
...
+{% comment %}
+Copyright (C) The Arvados Authors. All rights reserved.
-Working with an Arvados git repository is analogous to working with other public repositories. If you are already familiar with git, feel free to skip this part of the documentation.
+SPDX-License-Identifier: CC-BY-SA-3.0
+{% endcomment %}
-This tutorial describes how to work with a new Arvados git repository. It will show you how to upload custom scripts to a remote Arvados repository, so you can use it in Arvados pipelines.
+This tutorial describes how to work with an Arvados-managed git repository. Working with an Arvados git repository is very similar to working with other public git repositories.
{% include 'tutorial_expectations' %}
{% include 'tutorial_git_repo_expectations' %}
-h2. Cloning an Arvados repository
+h2. Cloning a git repository
Before you start using Git, you should do some basic configuration (you only need to do this the first time):
@@ -43,42 +46,42 @@ Ignore any warning that you are cloning an empty repository.
-h2. Creating a git branch
+h2. Creating a git branch in an Arvados repository
+
+Create a git branch named *tutorial_branch* in the *tutorial* Arvados git repository.
~$ cd tutorial
-git checkout -b tutorial_branch
+~/tutorial$ git checkout -b tutorial_branch
-~$ echo 'hello world' > tutorial.txt
-
~/tutorials$ nano hello.cwl
-~$ git add tutorial.txt
-
-~/tutorial$ git add hello.cwl
-Next, commit all the changes to the local repository, along with a message of what you've accomplished.
+Next, commit your changes. All staged changes are recorded into the local git repository:
~$ git commit -a -m "Added tutorial.txt"
+~/tutorial$ git commit -m "my first script"
~$ git push origin tutorial_branch
+~/tutorial/crunch_scripts$ git push origin tutorial_branch