E-mail : support@tech2now.in

GIT TAG

Git Git Hub git commit gir rebase git status git init

Tag is a reference to a specific commit in a repository. Tags are often used to mark important points in the history of a project, such as a release or a significant milestone.

$git tag

Create a new lightweight

Lightweight tags are simply pointers to a specific commit. They do not contain any additional metadata, such as the name of the person who created the tag or the date and time the tag was created

$git tag

Create an annotated tag

Annotated tags are more complex than lightweight tags. They contain additional metadata, such as the name of the person who created the tag, the date and time the tag was created, and a tagging message.
$git tag -a -m “Tag message”

Push tags to a remote repository
$git push origin

Checkout a specific
$git checkout

Delete a tag
$git tag -d

Delete a tag on a remote repository
$git push origin –delete