diff options
author | Junio C Hamano <junio@kernel.org> | 2010-01-23 03:02:50 +0000 |
---|---|---|
committer | Junio C Hamano <junio@kernel.org> | 2010-01-23 03:02:50 +0000 |
commit | 57827fb28944ab9eee73efc93f04fb6dfc6e36a8 (patch) | |
tree | 935f9e461c67a51943bca7879ec02af645e62d67 /git-remote.html | |
parent | 364b6a4e15285cad6c674f515c0aa3538cfed028 (diff) | |
download | git-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.html | 20 |
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> <old> <new>
<em>git remote rm</em> <name>
<em>git remote set-head</em> <name> (-a | -d | <branch>)
+<em>git remote set-url</em> [--push] <name> <newurl> [<oldurl>]
+<em>git remote set-url --add</em> [--push] <name> <newurl>
+<em>git remote set-url --delete</em> [--push] <name> <url>
<em>git remote</em> [-v | --verbose] <em>show</em> [-n] <name>
<em>git remote prune</em> [-n | --dry-run] <name>
<em>git remote</em> [-v | --verbose] <em>update</em> [-p | --prune] [group | remote]…</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 <oldurl> (first URL if no <oldurl> is given) to <newurl>. If
+<oldurl> 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 <url> 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>
|