From 8923488a407a83baf724565e8bca59ce03d7a731 Mon Sep 17 00:00:00 2001 From: Peter Frank Johnson Date: Mon, 13 Jun 2011 20:02:11 +0100 Subject: Clarified post by changing numbering from 1 1 2 to 1 2 3. --- _posts/2008-01-03-fork-a-repo.markdown | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to '_posts') 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. Clone the “Spoon-Knife” project +2. Clone the “Spoon-Knife” project Run the following code: @@ -29,7 +29,7 @@ You’ve successfully forked the Spoon-Knife repo, but so far it only exists $ git clone git@github.com:username/Spoon-Knife.gitClones your copy of the repo into the current directory in terminal -2. Configure remotes +3. Configure remotes 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?
  • Create A Repository
  • Fork A Repository
  • Be Social
  • - \ No newline at end of file + -- cgit v1.3.1