Skip to content

Instantly share code, notes, and snippets.

@davipviana
Last active July 29, 2020 11:11
Show Gist options
  • Save davipviana/a5c90682a88e8410254b5b4f5306c785 to your computer and use it in GitHub Desktop.
Save davipviana/a5c90682a88e8410254b5b4f5306c785 to your computer and use it in GitHub Desktop.
Useful git commands
  • Clean references to deleted branches in remote
git remote update origin --prune
  • Create tag
git tag -a v1.4 -m "my version 1.4"
git push --tags
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment