Skip to content

Commit e2a3b2b

Browse files
fix outdated information about pushing tags
Fix information about pushing only annotated tags Github issue #1426
1 parent a1d926d commit e2a3b2b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -220,7 +220,7 @@ 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+
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.
224224
====
225225

226226
==== Deleting Tags

0 commit comments

Comments
 (0)