Skip to content
Open
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
Correct note as git push does not push tags by default
  • Loading branch information
marteaga76 authored Apr 7, 2026
commit d5c6ea4786033490dc4c2e4f2d37a3a5e6cf26d1
2 changes: 1 addition & 1 deletion book/02-git-basics/sections/tagging.asc
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ To git@github.com:schacon/simplegit.git
Now, when someone else clones or pulls from your repository, they will get all your tags as well.

[NOTE]
.`git push` pushes both types of tags
.`git push origin <tagname>` pushes both types of tags
====
`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.
Expand Down