emacs-orgmode@gnu.org archives
 help / color / mirror / code / Atom feed
From: Karl Voit <devnull@Karl-Voit.at>
To: emacs-orgmode@gnu.org
Subject: OT: syncing computers with git (was: Best way to set up Org mode with MobileOrg over Dropbox)
Date: Fri, 4 Nov 2011 13:38:06 +0100	[thread overview]
Message-ID: <2011-11-04T13-36-49@devnull.Karl-Voit.at> (raw)
In-Reply-To: 87wrbgvnye.fsf@univie.ac.at

* Gregor Kappler <g.kappler@gmx.net> wrote:
>
> I am using git to sync several laptops and Desktop computers.
>
> Every 5 minutes a cronjob runs a shell script that automatically runs
> =git pull= -- and =git add= on org files as well files listed in the
> =.gitcroncommit= file.  The commit message is comprised of the filenames
> of all changed files as well as a prefix for detection in git logs
> ("cron autocommit", parameterized) and the hostname.
>
> The auto commit is performed only if
>  - no files have been staged manually.
>  - git is in the auto branch (where mine is always). This prevents
>    cluttering the git history of the master branch.

If you want to switch from a pulling to an interrupt system, you
might be interested in http://www.mayrhofer.eu.org/dvcs-autosync

-- 
Karl Voit

Hallo, mein Name ist Web 2.0. Gib mir dein Adressbuch und lass mich Emails lesen

      reply	other threads:[~2011-11-04 12:38 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-11-03 19:03 Best way to set up Org mode with MobileOrg over Dropbox Nikolai Weibull
2011-11-03 22:30 ` Gregor Kappler
2011-11-04 12:38   ` Karl Voit [this message]

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=2011-11-04T13-36-49@devnull.Karl-Voit.at \
    --to=devnull@karl-voit.at \
    --cc=emacs-orgmode@gnu.org \
    --cc=news1142@Karl-Voit.at \
    /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).