On 2017-08-05, at 9:26 PM, G. Sylvie Davies <g.sylvie.dav...@gmail.com> wrote: > > # 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
"for-each-ref"? Maybe a better question: How is someone supposed to learn all the things that git can do? I've never seen that one mentioned. --- Entertaining minecraft videos http://YouTube.com/keybounce -- 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 to git-users+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.