I recently performed the following actions in git:
git checkout agit pull(this downloaded some new code which was added in another branchb)git merge mastergit checkout master- At this point I expected
masterto contain the changes downloaded in 2) however they weren't present. I rangit pullagain which fetched the changed.
Does git pull fetch and merge the changes only into the current branch (which I'm checked out into)? If yes, is there a git command to merge the downloaded changed into every/specific branches?