Skip to content

Commit

Permalink
Fix issue progit#526: There is no *adding* remote repositories in pre…
Browse files Browse the repository at this point in the history
…vious 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.
  • Loading branch information
YueLinHo committed Feb 20, 2016
1 parent 6346b40 commit e48f376
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion book/02-git-basics/sections/remotes.asc
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,8 @@ Notice that these remotes use a variety of protocols; we'll cover more about thi

==== Adding Remote Repositories

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)))
We've mentioned and given some demonstrations of how the 'clone' command implicitly adds the `origin` remote for you.
Here's how to add a new remote explicitly.(((git commands, remote)))
To add a new remote Git repository as a shortname you can reference easily, run `git remote add <shortname> <url>`:

[source,console]
Expand Down

0 comments on commit e48f376

Please sign in to comment.