Why Fetch and Merge?

Gagan Suneja
1 min readSep 26, 2017

--

We all know git is an integral part of software development .

git guides

Most of git guides tell us to update our code from remote upstream

BY:

git fetch upstream

git checkout develop

git merge upstream/develop

Well i think we have a workaround it ;We can set our develop branch to track upstream by using

git config branch.develop.remote upstream

git pull (on develop branch)

By using this we can save some effort everytime we update develop branch

--

--