Skip to content

Commit 1f2b9ae

Browse files
committed
Merge pull request progit#537 from YueLinHo/fix_i534
Fix issue progit#534: `git remote rename` does not rename *a* reference
2 parents ad2b23b + ff1ee82 commit 1f2b9ae

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

book/02-git-basics/sections/remotes.asc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ It also shows you which remote branches on the server you don't yet have, which
194194

195195
==== Removing and Renaming Remotes
196196

197-
If you want to rename a reference you can run `git remote rename` to change a remote's shortname.(((git commands, remote)))
197+
You can run `git remote rename` to change a remote's shortname.(((git commands, remote)))
198198
For instance, if you want to rename `pb` to `paul`, you can do so with `git remote rename`:
199199

200200
[source,console]
@@ -205,7 +205,7 @@ origin
205205
paul
206206
----
207207

208-
It's worth mentioning that this changes your remote branch names, too.
208+
It's worth mentioning that this changes all your remote-tracking branch names, too.
209209
What used to be referenced at `pb/master` is now at `paul/master`.
210210

211211
If you want to remove a remote for some reason – you've moved the server or are no longer using a particular mirror, or perhaps a contributor isn't contributing anymore – you can use `git remote rm`:

0 commit comments

Comments
 (0)