[Top][All Lists]

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

Re: [Orgmode] Git Changelogs

From: Puneeth Chaganti
Subject: Re: [Orgmode] Git Changelogs
Date: Fri, 18 Feb 2011 01:19:55 +0530

Hi Avdi,

On Thu, Feb 17, 2011 at 9:23 PM, Avdi Grimm <address@hidden> wrote:
> Is there an easy way to have a version-controlled Org file suck in its
> own changelog and present it as a list of entries?

Using babel, you could do that.

Try out the example below which prints a list of the changes to my
notes.org file as a list.

#+begin_src sh :results output raw
  git log --pretty=format:"+ %s by %an" notes.org

Look at the PRETTY-FORMATS section in the help of git-log [1] to tweak
your git log output.


[1] - http://www.kernel.org/pub/software/scm/git/docs/git-log.html

reply via email to

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