From d5c6ea4786033490dc4c2e4f2d37a3a5e6cf26d1 Mon Sep 17 00:00:00 2001 From: marteaga76 <32489016+marteaga76@users.noreply.github.com> Date: Tue, 7 Apr 2026 15:46:05 -0400 Subject: [PATCH] Correct note as git push does not push tags by default --- book/02-git-basics/sections/tagging.asc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/book/02-git-basics/sections/tagging.asc b/book/02-git-basics/sections/tagging.asc index 34604c573..0ca9ba4ff 100644 --- a/book/02-git-basics/sections/tagging.asc +++ b/book/02-git-basics/sections/tagging.asc @@ -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 ` pushes both types of tags ==== `git push --tags` will push both lightweight and annotated tags. There is currently no option to push only lightweight tags, but if you use `git push --follow-tags` only annotated tags will be pushed to the remote.