Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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