Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save Arondight/e72614e1a58d95bce414551ebc08668c to your computer and use it in GitHub Desktop.
Save Arondight/e72614e1a58d95bce414551ebc08668c to your computer and use it in GitHub Desktop.
git push all branches and tags to remote
#!/usr/bin/env cat
git push remote --tags "refs/remotes/origin/*:refs/heads/*"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment