summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--_posts/2008-02-09-remotes.markdown2
1 files changed, 1 insertions, 1 deletions
diff --git a/_posts/2008-02-09-remotes.markdown b/_posts/2008-02-09-remotes.markdown
index 832c307..d10454d 100644
--- a/_posts/2008-02-09-remotes.markdown
+++ b/_posts/2008-02-09-remotes.markdown
@@ -26,7 +26,7 @@ Another basic command, `git remote rm example` will delete the "example" remote
### Changing a remote's URL
-There is no direct command to change a remote's URL, so you will usually run `git remote rm` followed by `git remote add` to change a URL. You can also edit the repo's `.git/config` file directly to change the URL without re-fetching the remote.
+`git remote set-url example git://github.com/user/test.git` will set the URL of the remote named "example" to `git://github.com/user/test.git`.
Fetching
--------