trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: September 2012

Re: [trinity-devel] Revert GIT to a specific date

From: Slávek Banko <slavek.banko@...>
Date: Sat, 29 Sep 2012 01:35:32 +0200
On Friday 28 of September 2012 21:46:46 Darrell Anderson wrote:
> The 'git log --until" command queries the last commit on a specific date. I
> don't know how to extract the commit hash from that query.

Just a few things that may be helpful:

git rev-parse "@{2012-04-01 00:00:00}"

git log --pretty=format:"%ci; %h; %s" v3.5.13..HEAD

Slávek
--