summaryrefslogtreecommitdiffstats
path: root/git-remote.html
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2015-10-05 13:39:53 -0700
committerJunio C Hamano <gitster@pobox.com>2015-10-05 13:39:53 -0700
commit1eb5609b6b3e2908ee747dfe313c24f17334ce26 (patch)
tree7399ab13ecb59275ff9caa0624441831a5b0f8de /git-remote.html
parent70d664063d4eb347c0d30071e08a40fbf72dcd34 (diff)
downloadgit-htmldocs-1eb5609b6b3e2908ee747dfe313c24f17334ce26.tar.gz
Autogenerated HTML docs for v2.6.1-120-g24a00e
Diffstat (limited to 'git-remote.html')
-rw-r--r--git-remote.html14
1 files changed, 13 insertions, 1 deletions
diff --git a/git-remote.html b/git-remote.html
index 5039b8d48..51ad57839 100644
--- a/git-remote.html
+++ b/git-remote.html
@@ -754,6 +754,7 @@ git-remote(1) Manual Page
<em>git remote remove</em> &lt;name&gt;
<em>git remote set-head</em> &lt;name&gt; (-a | --auto | -d | --delete | &lt;branch&gt;)
<em>git remote set-branches</em> [--add] &lt;name&gt; &lt;branch&gt;&#8230;
+<em>git remote get-url</em> [--push] [--all] &lt;name&gt;
<em>git remote set-url</em> [--push] &lt;name&gt; &lt;newurl&gt; [&lt;oldurl&gt;]
<em>git remote set-url --add</em> [--push] &lt;name&gt; &lt;newurl&gt;
<em>git remote set-url --delete</em> [--push] &lt;name&gt; &lt;url&gt;
@@ -891,6 +892,17 @@ after the initial setup for a remote.
branches, adds to that list.</p></div>
</dd>
<dt class="hdlist1">
+<em>get-url</em>
+</dt>
+<dd>
+<p>
+Retrieves the URLs for a remote. Configurations for <code>insteadOf</code> and
+<code>pushInsteadOf</code> are expanded here. By default, only the first URL is listed.
+</p>
+<div class="paragraph"><p>With <em>--push</em>, push URLs are queried rather than fetch URLs.</p></div>
+<div class="paragraph"><p>With <em>--all</em>, all URLs for the remote will be listed.</p></div>
+</dd>
+<dt class="hdlist1">
<em>set-url</em>
</dt>
<dd>
@@ -1028,7 +1040,7 @@ $ git merge origin</code></pre>
<div id="footnotes"><hr /></div>
<div id="footer">
<div id="footer-text">
-Last updated 2015-03-06 15:45:51 PST
+Last updated 2015-10-05 13:38:43 PDT
</div>
</div>
</body>