* git revision at time
@ 2008-01-08 17:07 Tim Moore
0 siblings, 0 replies; only message in thread
From: Tim Moore @ 2008-01-08 17:07 UTC (permalink / raw)
To: frysk
-----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-----
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2008-01-08 17:07 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-08 17:07 git revision at time Tim Moore
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).