Last active
December 20, 2015 01:09
-
-
Save ZaneA/6047538 to your computer and use it in GitHub Desktop.
Usage: `git mpush origin,github master`
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
IFS=',' read -ra REMOTES <<< "$1" | |
shift | |
for REMOTE in "${REMOTES[@]}"; do | |
echo git push $REMOTE $* | |
git push $REMOTE $* | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment