emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Moritz Ulrich <moritz@tarn-vedra.de>
To: Emacs-orgmode <Emacs-orgmode@gnu.org>
Subject: Store org-files in a git repository?
Date: Sat, 08 Sep 2012 01:28:37 +0200	[thread overview]
Message-ID: <m21uidxviy.fsf@tarn-vedra.de> (raw)


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

             reply	other threads:[~2012-09-07 23:28 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-09-07 23:28 Moritz Ulrich [this message]
2012-09-07 23:57 ` Store org-files in a git repository? Marcelo de Moraes Serpa
2012-09-08  0:26   ` Charles Philip Chan
2012-09-08  8:45 ` Achim Gratz
2012-09-10 22:23   ` Moritz Ulrich
2012-09-11  2:18     ` Marcelo de Moraes Serpa
2012-09-11 18:11       ` Achim Gratz
2012-09-14 11:15     ` Bernt Hansen
2012-09-12 14:18 ` Bastien
2012-09-12 16:52   ` Samuel Wales
2012-09-13 18:05     ` Marcelo de Moraes Serpa

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://www.orgmode.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=m21uidxviy.fsf@tarn-vedra.de \
    --to=moritz@tarn-vedra.de \
    --cc=Emacs-orgmode@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).