Re: git tag --no-merged?
- From
Peter Krefting <peter@softwolves.pp.se>
- Date
- Feb 5, 2015, 09:09 UTC
- Message-ID
- <alpine.DEB.2.00.1502051001090.10655@ds9.cixit.se>
- In-Reply-To
- <6A0F0356-2AF1-487D-A20E-FB6051D9E689@gmail.com>
Kyle J. McKay:
Show 8 quoted lines
> I think something like this might do what you want:
>
> git for-each-ref --format='%(refname)' refs/tags | \
> while read t; do
> if ! git merge-base --is-ancestor $t HEAD; then
> echo ${t#refs/tags/}
> fi
> doneThat works like a charm, thank you!
-- \\// Peter - http://www.softwolves.pp.se/