Skip to content

Commit 3dd5a1f

Browse files
committed
Indicate name/url are mandatory in git remote add
Changed square brackets to angled brackets to indicate that name and url are mandatory when executing `git remote add`: usage: git remote add [<options>] <name> <url>
1 parent c2e55c5 commit 3dd5a1f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ Notice that these remotes use a variety of protocols; we'll cover more about thi
6464
==== Adding Remote Repositories
6565

6666
We've mentioned and given some demonstrations of adding remote repositories in previous sections, but here is how to do it explicitly.(((git commands, remote)))
67-
To add a new remote Git repository as a shortname you can reference easily, run `git remote add [shortname] [url]`:
67+
To add a new remote Git repository as a shortname you can reference easily, run `git remote add <shortname> <url>`:
6868

6969
[source,console]
7070
----

0 commit comments

Comments
 (0)