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

Popular posts from this blog

java - NullPointerException for a 2d Array -

python - Assemble mpeg file unable to play in mediaplayer -

c# - NameSpace Manager or XsltContent to parse aspx page -