Before anything, I know the difference between git pull
and git fetch
.
However, I'd like to pull every branch at a time, and I learned that a command git pull --all
exists, but it did not accomplish that purpose, as it fetches all branches but only merges the one I am working in with its remote (and other stackoverflow posts like this assured me that).
The documentation on man git-pull
references the git fetch
command and in the --all
section says
Options related to fetching
--all
Fetch all remotes.
My question is, then, therotical.
Does it make sense to exist a git pull --all
since its name is misleading?
And does it make sense to reference man git-fetch
in a way that also misleads, since git pull --all
is not the same as git fetch --all
?
(I know this question may sound like primarily opinion based question, however maybe I can get from you an understanding of these git commands that I do not have now. And others may not have it as well.)