Updating a local repository with changes from a GitHub repository

Tom picture Tom · Sep 18, 2009 · Viewed 1M times · Source

I've got a project checked locally from GitHub, and that remote repository has since had changes made to it. What's the correct command to update my local copy with the latest changes?

Answer

James Healy picture James Healy · Sep 18, 2009

Probably:

git pull origin master