git-tag: add example on how to push a tag (#13079)

Co-authored-by: spageektti <git@spageektti.cc>
pull/28/head
Ville Saalo 2024-06-20 20:18:30 +03:00 committed by GitHub
parent 14544a0f26
commit 674f47556b
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 5 additions and 1 deletions

View File

@ -24,10 +24,14 @@
`git tag -d {{tag_name}}`
- Get updated tags from upstream:
- Get updated tags from remote:
`git fetch --tags`
- Push a tag to remote:
`git push origin tag {{tag_name}}`
- List all tags whose ancestors include a given commit:
`git tag --contains {{commit}}`