mirror of
https://github.com/k88hudson/git-flight-rules.git
synced 2025-03-10 12:48:43 -03:00
Add a way to find tags containing specific commit (#195)
* Add a way to find tags containing specific commit * fixup! Add a way to find tags containing specific commit
This commit is contained in:
parent
4dcb631734
commit
5de8869df2
@ -82,6 +82,7 @@ For clarity's sake all examples in this document use a customized bash prompt in
|
||||
- [I want to find a string in any commit](#i-want-to-find-a-string-in-any-commit)
|
||||
- [I want to find by author/committer](#i-want-to-find-by-authorcommitter)
|
||||
- [I want to list commits containing specific files](#i-want-to-list-commits-containing-specific-files)
|
||||
- [Find a tag where a commit is referenced](#find-a-tag-where-a-commit-is-referenced)
|
||||
- [Submodules](#submodules)
|
||||
- [Clone all submodules](#clone-all-submodules)
|
||||
- [Remove a submodule](#remove-a-submodule)
|
||||
@ -1198,7 +1199,14 @@ While using wildcards, it's useful to inform `--name-status` to see the list of
|
||||
$ git log --name-status -- **/*.js
|
||||
```
|
||||
|
||||
<a name="find-a-tag-where-a-commit-is-referenced"></a>
|
||||
### Find a tag where a commit is referenced
|
||||
|
||||
To find all tags containing a specific commit
|
||||
|
||||
```sh
|
||||
$ git tag --contains <commitid>
|
||||
```
|
||||
|
||||
## Submodules
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user