DEV Community

Discussion on: How to sync your fork with the parent repository

Collapse
 
maxdevjs profile image
maxdevjs

wow :O I have to try this, not grasped it ... master branch fetched from origin , why I'd fetch from origin?

Collapse
 
wparad profile image
Warren Parad

By default your local branch master is set to track changes from origin. However what you really want is master tracking changes from upstream. So I'm just suggesting to ignore origin/master as a mindset shift, and then everything works out as you would expect. Sure your remote origin/master is wrong, but who cares.