public inbox for frysk@sourceware.org
 help / color / mirror / Atom feed
From: Tim Moore <timoore@redhat.com>
To: frysk <frysk@sourceware.org>
Subject: git revision at time
Date: Tue, 08 Jan 2008 17:07:00 -0000	[thread overview]
Message-ID: <4783ADAD.3090000@redhat.com> (raw)

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

To find the last revision before a date:
git-rev-list --before=2007-12-14 --pretty=oneline -n1 HEAD

You could use --pretty=format:%H to just get the SHA1 hash if you wanted to feed the
result directly to another command, like git-tag or git-branch.

Tim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Fedora - http://enigmail.mozdev.org

iD8DBQFHg62teDhWHdXrDRURAvnBAKDhUpZpSHyhl1NRrk2+QUsSJPFpTQCgxNb5
X8zrvoa5BzC1aYleiohlb2Y=
=wPe6
-----END PGP SIGNATURE-----

                 reply	other threads:[~2008-01-08 17:07 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4783ADAD.3090000@redhat.com \
    --to=timoore@redhat.com \
    --cc=frysk@sourceware.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).