> How would you go from the date to a (single) hash/revision number (not a range) that git understand?git log --since="1290243726" --until="1290243726"
will return 2 commits
but only the commit time is different
the push time is the same (git stores the time in unix format)
If someone is pushing n commits at the same time
and you do an update
than you'll receive both commits
Tracing a bug means reverting commits from your local source
and in that case you know the hash
commit 51bc5eaaac472c0854ec34dbbdcf5b92982f471a
Author: Martin Gerhardy <tlh2000@users.sourceforge.net>
Date: Sat Nov 20 10:01:43 2010 +0100
* renamed functions in entity Observer class
commit 751f6534b9132255aee28d155312aa8c547e446a
Author: Martin Gerhardy <tlh2000@users.sourceforge.net>
Date: Sat Nov 20 09:53:15 2010 +0100
* further merges and improvements for the entity inspector
I would prefer
git describe --tags
ufoai_2.1-dev1-27253-g51bc5eacommit 27253 is very handy
but
git rev-list HEAD ufoai_2.1-dev1-27253-g3be0bf3~2prints only a lot of hashes
How to find the hash for commit 27252