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,127
  • 1
  • 13
  • 26

2 Answers2

1

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

Juan Sagasti
  • 308
  • 2
  • 4
0

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

Raghav Gupta
  • 301
  • 1
  • 4
  • 19