diff options
| author | Tekkub <tekkub@github.com> | 2011-06-13 14:46:34 -0700 |
|---|---|---|
| committer | Tekkub <tekkub@github.com> | 2011-06-13 14:46:34 -0700 |
| commit | 351816c513a93bd3797841db7ea49ead207ce4a9 (patch) | |
| tree | 8f3048b5dee6a49326574ee7f2b13599bb4e9410 /_posts/2008-01-03-fork-a-repo.markdown | |
| parent | 213caf18adfdc32e5c197c9b2d942df408d93e34 (diff) | |
| parent | 8923488a407a83baf724565e8bca59ce03d7a731 (diff) | |
Merge pull request #33 from peterfrankjohnson/master
Clarifying Post. Changing Numbering of Help Document.
Diffstat (limited to '_posts/2008-01-03-fork-a-repo.markdown')
| -rw-r--r-- | _posts/2008-01-03-fork-a-repo.markdown | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/_posts/2008-01-03-fork-a-repo.markdown b/_posts/2008-01-03-fork-a-repo.markdown index eccf8df..adeb52d 100644 --- a/_posts/2008-01-03-fork-a-repo.markdown +++ b/_posts/2008-01-03-fork-a-repo.markdown @@ -21,7 +21,7 @@ At some point you may find yourself wanting to contribute to someone else's proj You’ve successfully forked the Spoon-Knife repo, but so far it only exists on GitHub. To be able to work on the project, you will need to clone it to your local machine. -1. <span class="step-title">Clone the “Spoon-Knife” project</span> +2. <span class="step-title">Clone the “Spoon-Knife” project</span> Run the following code: @@ -29,7 +29,7 @@ You’ve successfully forked the Spoon-Knife repo, but so far it only exists <span class="codeline">$ git clone git@github.com:<em>username</em>/Spoon-Knife.git<span>Clones your copy of the repo into the current directory in terminal</span></span> </pre> -2. <span class="step-title">Configure remotes</span> +3. <span class="step-title">Configure remotes</span> When a repo is cloned, it has a default remote called `origin` that points to your fork on GitHub, not the original repo it was forked from. To keep track of the original repo, you need to add another remote named `upstream`: @@ -157,4 +157,4 @@ You have now created forked a repo. What do you want to do next? <li><a href="/create-a-repo/">Create A Repository</a></li> <li>Fork A Repository</li> <li><a href="/be-social/">Be Social</a></li> -</ol>
\ No newline at end of file +</ol> |
