0

I have a parent branch

origin/develop
, from this branch I have created a child branch
feature/NewFeatureBranch

I am now on

feature/NewFeatureBranch
using
git checkout feature/NewFeatureBranch

Now I have done

git pull
and can see several new branches downloading to my local machine which all have parent as
develop

In another scenario I have done

git pull origin develop
and in this case newly checked in files from other branches towards
develop
are getting downloaded.

so is it that

git pull
is behaving like
git fetch
and
git pull origin develop
is behaving like
git fetch + git merge
.

Anonymous Asked question May 14, 2021