Skip to content

Instantly share code, notes, and snippets.

@rodhfr
Created July 8, 2025 11:32
Show Gist options
  • Save rodhfr/48662c4b31675792634201073dcfaf18 to your computer and use it in GitHub Desktop.
Save rodhfr/48662c4b31675792634201073dcfaf18 to your computer and use it in GitHub Desktop.
git config --global alias.pushall '!f() { for remote in $(git remote); do echo "Pushing to $remote..."; git push --all "$remote"; git push --tags "$remote"; done }; f'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment