This is the mail archive of the frysk@sourceware.org mailing list for the frysk project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

git revision at time


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]