lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Git - date of last modification for each score


From: Peter Chubb
Subject: Re: Git - date of last modification for each score
Date: Fri, 30 Sep 2011 10:39:34 +1000
User-agent: Wanderlust/2.15.9 (Almost Unreal) SEMI/1.14.6 (Maruoka) FLIM/1.14.9 (Gojō) APEL/10.8 Emacs/23.3 (x86_64-pc-linux-gnu) MULE/6.0 (HANACHIRUSATO)

>>>>> "Jakub" == Jakub Pavlík <address@hidden> writes:

Jakub> Hi,

Jakub> I have a large project containing many small scores (in large
Jakub> files each containing a bundle of scores) which often change.
Jakub> The project is stored in a git repository.  I would like to be
Jakub> able to get the date of last modification for each of the
Jakub> scores from git. Does anyone have an idea how to do it?

Try
        git log -1 --pretty=%ai filename

to get the last modification date for that filename.

git log    -- get the revision log for the filename
    -1 -- Just the most recent revision
    --pretty=%ai -- Print the author's commit date in ISO format.

Peter C

--
Dr Peter Chubb  http://www.gelato.unsw.edu.au  peterc AT gelato.unsw.edu.au
http://www.ertos.nicta.com.au           ERTOS within National ICT Australia



reply via email to

[Prev in Thread] Current Thread [Next in Thread]