How can I make git push
to push not only to origin
but also another remote repository?
as git push
is only an alias for git push origin
, can I alias git push to push to 2 remote repositories at once (with just that one command)?
I’m not looking for a non-git script here but would like to set this up for my local repository in git.
When I tried it with post-push scripts I failed.