Skip to content

Instantly share code, notes, and snippets.

@matthewmccullough
Created December 18, 2013 17:49
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save matthewmccullough/8026727 to your computer and use it in GitHub Desktop.
Save matthewmccullough/8026727 to your computer and use it in GitHub Desktop.
How to clone and update on two machines

Web:

  • GitHub.com copy of the repo (central)

Machine 1 (Windows):

  • Clone (initial acquisition)
  • Make changes locally on laptop
  • Push changes back to GitHub.com
  • Pull to get any new central (GitHub.com) changes

Machine 2 (Linux):

  • git clone (initial acquisition)
  • Make changes locally on laptop
  • Push changes back to GitHub.com
  • Pull to get any new central (GitHub.com) changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment