Create a gist now

Instantly share code, notes, and snippets.

@ZaneA /git-mpush
Last active Dec 20, 2015

What would you like to do?
Usage: `git mpush origin,github master`
#!/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