On Wed, 18 May 2016 03:53:37 -0700 (PDT)
hce h <jupiter....@gmail.com> wrote:

> I can get the latest revision number by command "git describe
> --tags", but how can I display a list of revisions or a particular
> revision based on the date of my commit id?

It's unclear what you are asking because the message subject mentions
cloning and the message text apparently talks about inspecting local
history.

So, assuming you're talking about inspecting local history I invite you
to read the "gitrevisions" manual page (run `git help revisions`) which
describes multiple ways to list commits by the dates they were made.

In short, you use `git log` or its lower-level cousin `git rev-list`
and pass it something like master@{2016-050-18 14:11:00} or use their
command-line options "--since" and "--until" to specify a range of
timestamps.

Note that accessing commits by date is imprecise by its nature and,
while useful sometimes, might indicate you're trying to do something
wrong way.

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