summaryrefslogtreecommitdiffstats
path: root/git-remote.html
diff options
context:
space:
mode:
authorJunio C Hamano <junio@kernel.org>2010-01-23 03:02:50 +0000
committerJunio C Hamano <junio@kernel.org>2010-01-23 03:02:50 +0000
commit57827fb28944ab9eee73efc93f04fb6dfc6e36a8 (patch)
tree935f9e461c67a51943bca7879ec02af645e62d67 /git-remote.html
parent364b6a4e15285cad6c674f515c0aa3538cfed028 (diff)
downloadgit-htmldocs-57827fb28944ab9eee73efc93f04fb6dfc6e36a8.tar.gz
Autogenerated HTML docs for v1.6.6.1-436-gaba7d
Diffstat (limited to 'git-remote.html')
-rw-r--r--git-remote.html20
1 files changed, 19 insertions, 1 deletions
diff --git a/git-remote.html b/git-remote.html
index 74b558780..6d627d42b 100644
--- a/git-remote.html
+++ b/git-remote.html
@@ -326,6 +326,9 @@ git-remote(1) Manual Page
<em>git remote rename</em> &lt;old&gt; &lt;new&gt;
<em>git remote rm</em> &lt;name&gt;
<em>git remote set-head</em> &lt;name&gt; (-a | -d | &lt;branch&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;
<em>git remote</em> [-v | --verbose] <em>show</em> [-n] &lt;name&gt;
<em>git remote prune</em> [-n | --dry-run] &lt;name&gt;
<em>git remote</em> [-v | --verbose] <em>update</em> [-p | --prune] [group | remote]&#8230;</div></div>
@@ -426,6 +429,21 @@ remote set-head origin master" will set <tt>$GIT_DIR/refs/remotes/origin/HEAD</t
<tt>refs/remotes/origin/master</tt> already exists; if not it must be fetched first.</p></div>
</dd>
<dt>
+<em>set-url</em>
+</dt>
+<dd>
+<p>
+Changes URL remote points to. Sets first URL remote points to matching
+regex &lt;oldurl&gt; (first URL if no &lt;oldurl&gt; is given) to &lt;newurl&gt;. If
+&lt;oldurl&gt; doesn't match any URL, error occurs and nothing is changed.
+</p>
+<div class="para"><p>With <em>--push</em>, push URLs are manipulated instead of fetch URLs.</p></div>
+<div class="para"><p>With <em>--add</em>, instead of changing some URL, new URL is added.</p></div>
+<div class="para"><p>With <em>--delete</em>, instead of changing some URL, all URLs matching
+regex &lt;url&gt; are deleted. Trying to delete all non-push URLs is an
+error.</p></div>
+</dd>
+<dt>
<em>show</em>
</dt>
<dd>
@@ -532,7 +550,7 @@ $ git merge origin</tt></pre>
</div>
<div id="footer">
<div id="footer-text">
-Last updated 2010-01-21 17:44:35 UTC
+Last updated 2010-01-23 03:02:29 UTC
</div>
</div>
</body>