Git · Junior · Question 35 of 75
Are tags pushed by a plain git push?
- 1No, tags can only be created on the server
- 2Yes, all tags are always pushed with the branch
- ✓Correct answer: No, push them with
git push origin v1.0or--tags
Explanation
Tags must be pushed explicitly. git push --follow-tags pushes annotated tags that point to the commits being pushed.