summaryrefslogtreecommitdiffstats
path: root/git-remote.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-07-01 14:31:18 -0700
committerJunio C Hamano <gitster@pobox.com>2013-07-01 14:31:18 -0700
commita195230280e159899bd277641eb24efa7c6d1603 (patch)
tree2b871f83080d996813ed0b6914fe3b88c35f6b08 /git-remote.html
parent1b5a38274423dd3999d7f8d89c77c5a601686166 (diff)
downloadgit-htmldocs-a195230280e159899bd277641eb24efa7c6d1603.tar.gz
Autogenerated HTML docs for v1.8.3.2-701-g8c4e4ec
Diffstat (limited to 'git-remote.html')
-rw-r--r--git-remote.html27
1 files changed, 17 insertions, 10 deletions
diff --git a/git-remote.html b/git-remote.html
index 68964ec30..f76057596 100644
--- a/git-remote.html
+++ b/git-remote.html
@@ -962,18 +962,25 @@ Add a new remote, fetch, and check out a branch from it
<pre><code>$ git remote
origin
$ git branch -r
-origin/master
-$ git remote add linux-nfs git://linux-nfs.org/pub/linux/nfs-2.6.git
+ origin/HEAD -&gt; origin/master
+ origin/master
+$ git remote add staging git://git.kernel.org/.../gregkh/staging.git
$ git remote
-linux-nfs
origin
-$ git fetch
-* refs/remotes/linux-nfs/master: storing branch 'master' ...
- commit: bf81b46
+staging
+$ git fetch staging
+...
+From git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/staging
+ * [new branch] master -&gt; staging/master
+ * [new branch] staging-linus -&gt; staging/staging-linus
+ * [new branch] staging-next -&gt; staging/staging-next
$ git branch -r
-origin/master
-linux-nfs/master
-$ git checkout -b nfs linux-nfs/master
+ origin/HEAD -&gt; origin/master
+ origin/master
+ staging/master
+ staging/staging-linus
+ staging/staging-next
+$ git checkout -b staging staging/master
...</code></pre>
</div></div>
</li>
@@ -1011,7 +1018,7 @@ $ git merge origin</code></pre>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-Last updated 2013-05-17 16:33:07 PDT
+Last updated 2013-07-01 14:29:27 PDT
</div>
</div>
</body>