Re: chronologically listed tags?
- From
Shawn O. Pearce <spearce@spearce.org>
- Date
- Apr 24, 2007, 17:42 UTC
- Message-ID
- <20070424174217.GB5942@spearce.org>
- In-Reply-To
- <Pine.LNX.4.64.0704241924070.4438@castor.milkiway.cos>
Michael Dressel <MichaelTiloDressel@t-online.de> wrote:
> I would like to list tags chronologically. I failed to find out how to do > this using git or cogito directly. So I wrote the simplistic bash script > below. Is there a way more direct way?
for-each-ref is your friend:
git for-each-ref --sort='taggerdate' refs/tags
-- Shawn.