Graham Percival <[email protected]> writes:

> On Thu, Dec 08, 2011 at 12:08:30PM +0100, David Kastrup wrote:
>> Graham Percival <[email protected]> writes:
>> 
>> > ~/src/lilypond$ git rev-parse "origin/master@{3 months ago}"
>> > 95fab3ca9692b197c2a26c5249d7f30b114ab451
>> >
>> 
>> Uh, @ specifications are for the _reflog_.  That is something maintained
>> strictly locally, for fixing things when you messed up the branch heads
>> beyond repair.
>
> huh.  The impression I got from here
> http://stackoverflow.com/questions/949314/how-to-retrieve-the-hash-for-the-current-commit-in-git
> was that git rev-parse got me the abcd1234 hash.
>
>> git log "--since=1 year ago" "--until=9 months ago"
>
> all I want is the commit hash, though.

git rev-parse origin -1 --until="1 year ago"

-- 
David Kastrup

_______________________________________________
lilypond-devel mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to