On Sunday, August 6, 2017 at 6:14:24 PM UTC+2, Michael Gersten wrote:
> On 2017-08-05, at 9:26 PM, G. Sylvie Davies <g.sylvi...@gmail.com
> # get most recent annotated tag (by time-of-tagging)
> $ git for-each-ref --sort='-*committerdate' refs/tags | head --lines=1
> # get most recent lightweight tag (by time-of-commit)
> $ git for-each-ref --sort='-committerdate' refs/tags | head --lines=1
> Maybe a better question: How is someone supposed to learn all the things
> that git can do? I've never seen that one mentioned.
Mentioned where? Might be by reading *the manual*
:) "for-each-ref <https://git-scm.com/docs/git-for-each-ref>" is listed
under so called "plumbing commands".
First reference page entry, git <https://git-scm.com/docs/git>, also
provides a nice overview of git commands
You received this message because you are subscribed to the Google Groups "Git
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email
For more options, visit https://groups.google.com/d/optout.