mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-09-10 15:53:34 +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:
parent
14544a0f26
commit
674f47556b
1 changed files with 5 additions and 1 deletions
|
@ -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}}`
|
||||
|
|
Loading…
Add table
Reference in a new issue