On Sun, Aug 06, 2017 at 09:14:15AM -0700, Michael 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.

The "root" Git manual page (which is called "git", run `git help git`)
mentions every existing Git command.

By the way it also mentions high-level but almost unknown manual pages
such as "gitcli", "gitworkflows" etc.

-- 
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.

Reply via email to