Git Version Control-Use of tag tags (2)

Source: Internet
Author: User

System Information: Linux 3.4.36-gentoo
Git version: git version 1.8.2.1

What is a tag?
Tag is the tag, and git also has the "tag" function at the key point in the historical state-this function is generally used to mark the release point.
We can use git tag to create a tag without any parameters to specify a commit ):
Tag locally

Git tag v *** 2bcd97c

This is to create a tag for 2bcd97c submission, which is easy to differentiate in the future.

Delete tags locally

Git tag-d v ****

How to PUSH local labels to the server

Push local labels to the server

Git push origin v *****

Remove tags from the server

Git push origin: refs/tags/v ****

Git version control series related articles: http://www.bkjia.com/search.aspx? Where = nkey & keyword = 21033

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.