Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion book/02-git-basics/sections/tagging.asc
Original file line number Diff line number Diff line change
Expand Up @@ -220,7 +220,8 @@ Now, when someone else clones or pulls from your repository, they will get all y
[NOTE]
.`git push` pushes both types of tags
====
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.
`git push <remote> --tags` will push both lightweight and annotated tags.
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.
====

==== Deleting Tags
Expand Down