From mboxrd@z Thu Jan 1 00:00:00 1970 From: Moritz Ulrich Subject: Store org-files in a git repository? Date: Sat, 08 Sep 2012 01:28:37 +0200 Message-ID: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([208.118.235.92]:55155) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TA7yj-0005oB-6V for Emacs-orgmode@gnu.org; Fri, 07 Sep 2012 19:28:49 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1TA7yi-0005a5-BU for Emacs-orgmode@gnu.org; Fri, 07 Sep 2012 19:28:49 -0400 Received: from mail-ee0-f41.google.com ([74.125.83.41]:45741) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1TA7yi-0005Zz-53 for Emacs-orgmode@gnu.org; Fri, 07 Sep 2012 19:28:48 -0400 Received: by eeke49 with SMTP id e49so60958eek.0 for ; Fri, 07 Sep 2012 16:28:46 -0700 (PDT) List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: Emacs-orgmode Hello, I plan to put my org directory (where I keep among other my agenda files) under version control and would like to have some sort of specialized function for that. My dream setup would be a range of functions hooking into all sorts of org-mode hooks, automatically committing changes done via the agenda or other org functions together with a context dependent commit message. For example, changing a TODO item to DONE would commit this change to git with the following message: * Headline title: State changed to 'DONE' Archiving, refiling, etc. would do similar things. A use case is automatic, safe synchronization between different machines and generally having recoverable backups of my org setup. This setup should work pretty good with org-merge-driver. Has someone built something comparable to this? I'd like to give it a try but don't want to reinvent the wheel. Cheers, Moritz Ulrich -- Moritz Ulrich