$ ./guess_the_languageGit
Git · medium · #44

Which command publishes the tag?

$ git tag v1.0
$ git push
Everything up-to-date
$ git ls-remote --tags origin
(no output)
  1. git push --all origin
  2. git push origin v1.0
  3. git tag --push v1.0
  4. git push -u v1.0
A plain git push does not send tags. Push the tag by name or use --tags; --all covers branches only.
Play Git ▸