From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ian Barton Subject: Re: Using Git to update more than one machine (one without network access) Date: Wed, 25 Feb 2009 17:41:22 +0000 Message-ID: <49A582C2.3090407@manor-farm.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1LcNlb-0007mA-RD for emacs-orgmode@gnu.org; Wed, 25 Feb 2009 12:41:55 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1LcNlY-0007ii-Be for emacs-orgmode@gnu.org; Wed, 25 Feb 2009 12:41:55 -0500 Received: from [199.232.76.173] (port=53395 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1LcNlY-0007iY-6C for emacs-orgmode@gnu.org; Wed, 25 Feb 2009 12:41:52 -0500 Received: from a2s22.a2hosting.com ([69.39.86.130]:38389) by monty-python.gnu.org with esmtps (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1LcNlX-0006VV-OW for emacs-orgmode@gnu.org; Wed, 25 Feb 2009 12:41:51 -0500 Received: from [217.146.125.41] (helo=firewall.banter.local) by a2s22.a2hosting.com with esmtp (Exim 4.69) (envelope-from ) id 1LcNlV-0006YS-Jn for emacs-orgmode@gnu.org; Wed, 25 Feb 2009 12:41:49 -0500 Received: from localhost (localhost [127.0.0.1]) by firewall.banter.local (Postfix) with ESMTP id CDC96D06A for ; Wed, 25 Feb 2009 17:41:46 +0000 (GMT) Received: from firewall.banter.local ([127.0.0.1]) by localhost (firewall.banter.local [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id lMKjQ4QbCnfn for ; Wed, 25 Feb 2009 17:41:23 +0000 (GMT) Received: from [192.168.0.60] (scamper.banter.local [192.168.0.60]) by firewall.banter.local (Postfix) with ESMTP id 157F8D069 for ; Wed, 25 Feb 2009 17:41:23 +0000 (GMT) In-Reply-To: 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: emacs-orgmode@gnu.org > I use a repo on a usb drive to keep my emacs init files in sync, but have > absolutely no idea how to do this for my org-mode files. In essence, I'm trying > to first pull changes from //repo.or.cz to my laptop, and then either have a > second repo on the usb drive which I can pull changes onto, or pull from the > laptop to the usb. > > Then I have to somehow get the work laptop to pull changes from the usb. > > Am I asking for too much here? I want to avoid all the downloading and unzipping > where possible. > One way to accomplish this would be to create a "branch" on your usb stick. Not sure if the terminology is correct here, as I use bzr rather than git. You can then create branches on your home computer and your work computer using the usb stick as a repo. So your workflow would be Use git clone to create a repo on your usb stick. Pull changes from Carsten' git repo to your usb stick. Pull changes from your usb stick to both your work and home computers. In other words your usb stick is your own master repo. I am not a VCS guru, so there is probably a simpler way:) Ian.