You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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>
Copy file name to clipboardExpand all lines: book/02-git-basics/sections/remotes.asc
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -64,7 +64,7 @@ Notice that these remotes use a variety of protocols; we'll cover more about thi
64
64
==== Adding Remote Repositories
65
65
66
66
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>`:
0 commit comments