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
Fix issue #526: There is no *adding* remote repositories in previous sections.
There is no `git add remote`, related command, or statement in previous sections, but `git clone`.
And the only remote repository mentioned is "origin" which is added implicitly via clone command.
Fix the sentence for that.
Copy file name to clipboardExpand all lines: book/02-git-basics/sections/remotes.asc
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -63,7 +63,8 @@ Notice that these remotes use a variety of protocols; we'll cover more about thi
63
63
64
64
==== Adding Remote Repositories
65
65
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)))
66
+
We've mentioned and given some demonstrations of how the 'clone' command implicitly adds the `origin` remote for you.
67
+
Here's how to add a new remote explicitly.(((git commands, remote)))
67
68
To add a new remote Git repository as a shortname you can reference easily, run `git remote add <shortname> <url>`:
0 commit comments