Skip to content

Commit ceabea4

Browse files
committed
Fix git remote show and git ls-remote args
Both are optional and should be square brackets.
1 parent 3dd5a1f commit ceabea4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

book/03-git-branching/sections/remote-branches.asc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33

44
(((branches, remote)))(((references, remote)))
55
Remote references are references (pointers) in your remote repositories, including branches, tags, and so on.
6-
You can get a full list of remote references explicitly with `git ls-remote (remote)`, or `git remote show (remote)` for remote branches as well as more information.
6+
You can get a full list of remote references explicitly with `git ls-remote [remote]`, or `git remote show [remote]` for remote branches as well as more information.
77
Nevertheless, a more common way is to take advantage of remote-tracking branches.
88

99
Remote-tracking branches are references to the state of remote branches.

0 commit comments

Comments
 (0)