How to get list of git tags, which contain a specific file? -
Is there any way to get a list of git tags that have a specific file?
Just pipe for the xpace and check for each tag:
Git tag | Xargs -i {} bash -c 'git ls-tree -r {} | Grep yourfile & gt; / Dev / null & amp; Amp; Echo {} '
Comments
Post a Comment