Skip to content

Latest commit

 

History

History
24 lines (17 loc) · 574 Bytes

File metadata and controls

24 lines (17 loc) · 574 Bytes

Fetching and Pulling

In this section, we will take a look at fetching and pulling

To update remote repository in our local repo

$ git fetch origin master

fth1

To update local master branch to point to the latest changes made on remote branch(origin/master). To merge origin/master into local master branch

$ git merge origin/master

To pull the remote branch

$ git pull origin/master

fth2