Is git remote update
the equivalent of git fetch
?
+4
A:
Yes and no. git remote update
fetches from all remotes, not just one.
Without looking at the code to see if remote update
is just a shell script (possible) it, basically, runs fetch for each remote. git fetch
can be much more granular.
xenoterracide
2009-12-06 20:29:21
You can configure which remotes to fetch when running `git remote update`, see git-remote manpage.
Jakub Narębski
2009-12-07 00:56:23
Incidentally, `git remote` is not a shell script, but it spawns `git fetch` during a `remote update`.
mipadi
2009-12-07 20:13:37