Skip to content

Instantly share code, notes, and snippets.

@tonylea
Last active August 16, 2021 15:50
Show Gist options
  • Save tonylea/c60dafce8654ef399e97b65a471db30a to your computer and use it in GitHub Desktop.
Save tonylea/c60dafce8654ef399e97b65a471db30a to your computer and use it in GitHub Desktop.
Push git repo, including branches & tags
#!/usr/bin/env bash
# The simplest way to push all branches to a remote repo:
git push --all <remote-name>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment