Skip to content

Instantly share code, notes, and snippets.

@aristidb
Created March 27, 2009 22:10
Show Gist options
  • Select an option

  • Save aristidb/86932 to your computer and use it in GitHub Desktop.

Select an option

Save aristidb/86932 to your computer and use it in GitHub Desktop.
Pushing everything to all remotes
#!/bin/bash
git remote | while read remote
do
echo "Remote $remote"
git push "$remote" "$@"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment