Skip to content

Commit 8512004

Browse files
authored
Merge pull request #1427 from WesleyGoncalves/master
2 parents a1d926d + c2ae401 commit 8512004

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; there is no simple option that allows you to select just one type for pushing.
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)