Skip to content

Latest commit

 

History

History
19 lines (15 loc) · 366 Bytes

File metadata and controls

19 lines (15 loc) · 366 Bytes

Git Tag

The git tag command marks specific points in history.

Usage

git tag <name>          # Create a tag
git tag -a <name> -m "Message" # Create an annotated tag

Explanation

  • Tags are often used to mark release points (e.g., v1.0.0).

  • Use git push --tags to push tags to the remote.

Example

git tag v1.0.0
git push --tags