tags:

views:

576

answers:

1
+2  Q: 

git remote update

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
You can configure which remotes to fetch when running `git remote update`, see git-remote manpage.
Jakub Narębski
Incidentally, `git remote` is not a shell script, but it spawns `git fetch` during a `remote update`.
mipadi