git-push-all.bash 170 B

1234567891011
  1. #!/bin/bash
  2. ## Faz `git push` em todos remotes
  3. BRANCH="`git branch | grep -e '*' | sed -e 's/^* //'`"
  4. for REMOTE in `git remote`
  5. do
  6. git push ${REMOTE} ${BRANCH}
  7. done