project instruction
- PC windows10
- Code hosting platform Code Cloud
- git toolGit
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
Create and submit tags
Viewing the tag is the one referred to above. Right-click on the root address of the project -->git-->show history to view
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)
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"