Skip to content

Commit cb44372

Browse files
author
Kausar Mehmood
committed
Add git remote remove command
1 parent 930625e commit cb44372

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
@@ -208,11 +208,11 @@ paul
208208
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

211-
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`:
211+
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 either use `git remote remove` or `git remote rm`:
212212

213213
[source,console]
214214
----
215-
$ git remote rm paul
215+
$ git remote remove paul
216216
$ git remote
217217
origin
218218
----

0 commit comments

Comments
 (0)