Updating a local repository with changes from a GitHub repository

Question:

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:

Pull all remote branches

List all branches now

Download your branch

Shows the current branch. Must show <feature branch> with * In front of it

Checkout changes from master to the current branch

OR checkout any other <feature branch> into current branch

Leave a Reply

Close Menu