/ Published in: Bash
This is for creating an annotated tag in Git.
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
# Create a tag on most current commit git tag -a v1.0 # Create a tag on a specific commit git tag -a v1.0 ec78b6b0778a1e02cb9554ce2dca4fcdd7a08a7d # Push tags to remote repository git push --tags # Push specific tag to remote repository git push origin :tag_name