Advertisement

Monday, November 25, 2019

DevOps: GIT - How to Sync Fork with Master or Pull Upstream

In this blog I am going to discuss about how to Sync your forked branch to the master branch. 
If you have followed my previous blog on Fork Workflow  then this blog is (somewhat) a continuation of that blog. 

Now if you have performed your steps properly then 


Check if you added upstream
$ git remote -v

If you have then good, else refer my previous blog. 

Update with master

$ git pull upstream master

That's it your fork is synced with master fork.

In case you want to break it down into multiple steps, you can use below
https://help.github.com/en/github/collaborating-with-issues-and-pull-requests/syncing-a-fork

No comments:
Write comments