From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bernt Hansen Subject: Re: syncing org-mode files on three unconnected machines? Date: Mon, 09 Feb 2009 10:54:49 -0500 Message-ID: <87ljsfli5y.fsf@gollum.intra.norang.ca> References: <7bef1f890902081943n2417dde4uc923053fdf279a47@mail.gmail.com> <7bef1f890902090448w452249c7y95f956999c00fc58@mail.gmail.com> <7bef1f890902090450j2691d2b1nac24d608ac021875@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LWYTJ-0007X7-4R for emacs-orgmode@gnu.org; Mon, 09 Feb 2009 10:54:57 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LWYTI-0007W8-6Z for emacs-orgmode@gnu.org; Mon, 09 Feb 2009 10:54:56 -0500 Received: from [199.232.76.173] (port=37899 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LWYTI-0007Vy-1j for emacs-orgmode@gnu.org; Mon, 09 Feb 2009 10:54:56 -0500 Received: from mho-02-bos.mailhop.org ([63.208.196.179]:55008) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LWYTH-0005UR-Oo for emacs-orgmode@gnu.org; Mon, 09 Feb 2009 10:54:55 -0500 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: "Alan E. Davis" Cc: emacs-orgmode Mailinglist "Alan E. Davis" writes: > Thank you for the immediate and helpful responses. > > I have signed up for dropbox. It looks useful. I already have it working, and I can drop the entire ~/org tree into it. > > That being said, the most helpful would probably be the git approach. It's going to take some work. Hi Alan, I've never done this myself but it should be possible to put a bare git repository on the USB stick. Then you push/pull changes to it when moving from one machine to the next. It would go something like this: (untested) On the USB stick - initialize a bare repository cd /path/to/usb git clone --bare /path/to/your/repo Now on each of the org repos: Rename your repo (just to keep a backup until you're comfortable you have it set up the way you like) and clone the one from the usb stick. Copy the files from the renamed repo into the newly cloned repo and check for difference. This just makes sure you don't lose current work in the other repos. After that is set up you can git pull from the usb stick and git push back to it with new commits. HTH, Bernt