Skip to content

Commit

Permalink
Merge pull request #99 from chelmertz/patch-1
Browse files Browse the repository at this point in the history
Add -u to git push command to setup remote tracking
  • Loading branch information
tekkub committed Mar 7, 2012
2 parents 749de4c + 5aa52a4 commit a8bcad1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion _posts/2008-01-02-create-a-repo.markdown
Expand Up @@ -100,7 +100,7 @@ While a README isn’t a required part of a GitHub repo, it is a good idea t

<pre class="terminal bootcamp">
<span class="codeline">$ git remote add origin git@github.com:<em>username</em>/Hello-World.git<span>Sets the origin for the Hello-World repo</span></span>
<span class="codeline">$ git push origin master<span></span>Sends your commit to GitHub</span>
<span class="codeline">$ git push -u origin master<span></span>Sends your commit to GitHub</span>
</pre>

<p>Now if you look at your repository on GitHub, you will see your README has been added to it.</p>
Expand Down

0 comments on commit a8bcad1

Please sign in to comment.