git-tag: add --contains example
This commit is contained in:

committed by
Agniva De Sarker

parent
6860a404d9
commit
e509233933
@@ -1,7 +1,7 @@
|
|||||||
# git tag
|
# git tag
|
||||||
|
|
||||||
> Create, list, delete or verify tags.
|
> Create, list, delete or verify tags.
|
||||||
> Tag is reference to specific commit.
|
> A tag is a static reference to a specific commit.
|
||||||
|
|
||||||
- List all tags:
|
- List all tags:
|
||||||
|
|
||||||
@@ -22,3 +22,7 @@
|
|||||||
- Get updated tags from upstream:
|
- Get updated tags from upstream:
|
||||||
|
|
||||||
`git fetch --tags`
|
`git fetch --tags`
|
||||||
|
|
||||||
|
- List tags that contain a given commit:
|
||||||
|
|
||||||
|
`git tag --contains `
|
||||||
|
Reference in New Issue
Block a user