Android studio git create and delete tags (Tag)

project instruction

Tags on git are generally used to mark versions. 
When a new version is released, the code of this version is tagged to distinguish and manage

Before using tags, you need to submit the code to Jack Ma

Add

commit and push

push

Create and submit tags

Tag 

Create local tags

Viewing the tag is the one referred to above. Right-click on the root address of the project -->git-->show history to view

Local Tag created successfully 
Submit Tag to remote
Submit Tag to Remote Action

unsubmitted
after submission

Use Git command to delete Tag Android Studio did not find the interface-based delete Tag operation

Locate the project root path (where the project .git folder is located, the .git folder is hidden by default)

Navigate to the path

Right click to open Git Bash

Enter git tag to view the local tag

Enter git tag -d v1.0.3 to delete the local tag named "v1.0.3"

Enter git push origin –delete v1.0.3 to delete the remote tag named "v1.0.3" (this command is supported after Git v1.7.0)

Entering git push origin :refs/tags/v1.0.3 can also delete the remote tag named "v1.0.3"

delete command

project address

Guess you like

Origin http://43.154.161.224:23101/article/api/json?id=325565388&siteId=291194637