Skip to content

Commit ff1ee82

Browse files
committed
Fix issue #534: git remote rename does not rename *a* reference
Also fix "remote branch" to "remote-tracking branch".
1 parent 6346b40 commit ff1ee82

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
@@ -193,7 +193,7 @@ It also shows you which remote branches on the server you don't yet have, which
193193

194194
==== Removing and Renaming Remotes
195195

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

199199
[source,console]
@@ -204,7 +204,7 @@ origin
204204
paul
205205
----
206206

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

210210
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)