[ARVADOS] created: 88a6b1127380a852cc16bb905e240e115e71d457

git at public.curoverse.com git at public.curoverse.com
Mon Aug 10 11:38:44 EDT 2015


        at  88a6b1127380a852cc16bb905e240e115e71d457 (commit)


commit 88a6b1127380a852cc16bb905e240e115e71d457
Author: Bryan Cosca <bcosc at curoverse.com>
Date:   Mon Aug 10 11:38:32 2015 -0400

    6862: Added git-arvados-guide first draft documentation

diff --git a/doc/_config.yml b/doc/_config.yml
index 3cd354b..7af48c3 100644
--- a/doc/_config.yml
+++ b/doc/_config.yml
@@ -48,6 +48,7 @@ navbar:
       - user/topics/arv-run.html.textile.liquid
     - Working with Arvados Repositories:
       - user/tutorials/add-new-repository.html.textile.liquid
+      - user/tutorials/git-arvados-guide.html.textile.liquid
     - Develop a new pipeline:
       - user/tutorials/intro-crunch.html.textile.liquid
       - user/tutorials/running-external-program.html.textile.liquid
diff --git a/doc/user/tutorials/git-arvados-guide.html.textile.liquid b/doc/user/tutorials/git-arvados-guide.html.textile.liquid
new file mode 100644
index 0000000..7c7f2aa
--- /dev/null
+++ b/doc/user/tutorials/git-arvados-guide.html.textile.liquid
@@ -0,0 +1,36 @@
+---
+layout: default
+navsection: userguide
+title: Working with your Arvados Git Repository
+...
+
+Working with your Arvados git repository is analogous to working with your other repositories, the difference being that you push to Arvados rather than Github or Bitbucket.
+
+Include: This tutorial assumes that you have a working Arvados repository. If you need to create one, you can go to the /user/tutorials/add-new-repository.html section and follow those instructions.
+
+Using the example $USER/tutorial repository from the "Add new Arvados repository":http://doc.arvados.org/user/tutorials/add-new-repository.html page, first,  clone your remote repository into a new local directory.
+
+<notextile>
+<pre><code>~$ <span class="userinput">git clone $USER/tutorial.git</span>
+</code></pre>
+</notextile>
+
+You may get warning: You appear to have cloned an empty repository., Do not worry about this.
+
+Now go into your new repository and we'll create a new script for you to push to Arvados.
+
+Start by creating a file in your local repository.
+
+<notextile>
+<pre><code>~$ <span class="userinput">cd tutorial</span>
+~$ <span class="userinput">echo 'hello world' > tutorial.txt</span>
+</code></pre>
+</notextile>
+
+Now, add your file to the index:
+
+<notextile>
+<pre><code>~$ <span class="userinput">git add tutorial.txt</span>
+</code></pre>
+</notextile>
+

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list