Use a shell script perhaps?
#!/bin/sh
for i in `git remote show`; do
git fetch $i;
done;
Note: Small terminology error in your question: The --all
option of git fetch|pull
fetches all "remotes", not "remote branches".
Ramkumar Ramachandra
2010-10-06 05:26:22