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?
Asked
Active
Viewed 691 times
2 Answers
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