NewGuy
NewGuy

Reputation: 39

How to locally update repository from github

If I cloned a github repository with the follwoing command:

git clone - git://github.com/user/project.git

And then the developer commits further changes (to the main branch) how can I get the latest changes locally?

Upvotes: 1

Views: 278

Answers (2)

Saif Asif
Saif Asif

Reputation: 5658

A git pull will retrieve the changes from the main branch to your local repository

Upvotes: 1

Mattias
Mattias

Reputation: 461

git pull Also check out this resoruce for a visual representation of the git commands.

Upvotes: 3

Related Questions