Skip to content

Commit

Permalink
add info about GHfW, fixes #18
Browse files Browse the repository at this point in the history
  • Loading branch information
Jessica Lord committed Jan 26, 2014
1 parent 29f6837 commit 704318b
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions problems/remote_control/problem.txt
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,17 @@

$ git remote add origin <URLFROMGITHUB>

---
A note:

If you have GitHub for Windows on your computer, a remote
named 'origin' is automatically created. In that case, you'll
just need to tell it what URL to associate with origin. Use this
command instead of the 'add' one above:

$ git remote set-url origin <URLFROMGITHUB>
---

Your {bold}local{/bold} version is now connected to the
{bold}remote{/bold} on GitHub.com. But the remote one now has a
readme and your local one doesn't. You'll want to {bold}pull{/bold} that
Expand All @@ -77,6 +88,10 @@

$ git remote add <REMOTENAME> <URL>

{bold}Set a URL to a remote{/bold}

$ git remote set-url <REMOTENAME> <URL>

{bold}Pull in changes{/bold}

$ git pull <REMOTENAME> <BRANCHNAME>
Expand Down

0 comments on commit 704318b

Please sign in to comment.