Linus Torvalds [off-list ref] writes:
Well, especially if you want to use "git push" to basically back up your
own repo, you do want the "--all" flag. Otherwise you will then forget to
add a branch name to every remotes file whenyou create a new branch.
Sorry, I was unclear in my original message, but I meant to
require at least one refspec to be given to the command. Ways
to give refspec to the command are:
(1) give one or more from the command line
(2) give --all from the command line
(3) give none from the command line, but in this case you need
at least one "Push:" the "remotes" file you use.
We already have --all, but your "git push --tags $remote" makes
sense. For backups, "only matching things" is not good enough,
and we need --all.