Skip to content

Commit c2ae401

Browse files
WesleyGoncalvesben
andauthored
Clarify the explanation of the options available to push tags
Co-authored-by: Ben Straub <[email protected]>
1 parent e2a3b2b commit c2ae401

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

book/02-git-basics/sections/tagging.asc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,8 @@ Now, when someone else clones or pulls from your repository, they will get all y
220220
[NOTE]
221221
.`git push` pushes both types of tags
222222
====
223-
Pushing tags using `git push <remote> --tags` does not distinguish between lightweight and annotated tags; However, if you use `git push <remote> --follow-tags` only annotated tags will be pushed to the remote.
223+
`git push <remote> --tags` will push both lightweight and annotated tags.
224+
There is currently no option to push only lightweight tags, but if you use `git push <remote> --follow-tags` only annotated tags will be pushed to the remote.
224225
====
225226

226227
==== Deleting Tags

0 commit comments

Comments
 (0)