1

In the Git manual it states that the --all option is for the fetch part. I'm confused because I thought git fetch would update the whole local copy of the remote repository by default, so I don't see the need to define --all. And the main question, is git pull the same as git pull --all? if not, what is the difference?

user33276346
  • 1,501
  • 1
  • 19
  • 38

2 Answers2

2

--all fetches all refs from all remotes, instead of just the needed one. Then merges the appropriate single branch.

Juan Sagasti
  • 326
  • 2
  • 5
0

This link question asked in stack overflow earlier would resolve your issue - Can "git pull --all" update all my local branches?

Raghav Gupta
  • 341
  • 1
  • 6
  • 20