Git Tags - Git tag usage | Drupal 8

Git Tags - Git tag usage

Submitted by editor on Fri, 07/07/2017 - 10:02
Question

How to use tags (the git tag command) of git repository ?

Tag a branche / Version on git

git tag THE_TAG_NAME

 

Push tags or a tag to origin ripository

git push --tags

 

Show tags list

git tag

Get all tags list from origin

git fetch --all --tags --prune

 

Checkout a tag (Checkout a tagged version)

git checkout tags/<tag_name> -b <branch_name>

 

Tags

Add new comment

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.
  • Web page addresses and email addresses turn into links automatically.