Difference between revisions of "Git tag"

From wikieduonline
Jump to navigation Jump to search
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
 
{{lc}}
 
{{lc}}
 +
* https://git-scm.com/docs/git-tag
  
 +
* List tags: <code>[[git tag]]</code>
  
  
* [[git checkout]]
+
Create a new tag for your [[PR]]:
* [[git checkout]] tags/1.1.4
+
git tag v1.1.1
 +
[[git push --tags]]
 +
Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
 +
To https://github.com/yourorg/yourRepo.git
 +
  * [new tag]        v1.1.1 -> v1.1.1
 +
 
 +
 
 +
* <code>[[git checkout]]</code>
 +
* <code>[[git checkout]] tags/1.1.4</code>
  
  

Latest revision as of 13:40, 8 July 2024


Create a new tag for your PR:

git tag v1.1.1
git push --tags
Total 0 (delta 0), reused 0 (delta 0), pack-reused 0
To https://github.com/yourorg/yourRepo.git
 * [new tag]         v1.1.1 -> v1.1.1



See also[edit]

Advertising: