1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-09-10 11:53:11 +02:00

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

Co-authored-by: spageektti <git@spageektti.cc>
This commit is contained in:
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

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}}`