From mboxrd@z Thu Jan 1 00:00:00 1970 From: "Alan E. Davis" Subject: Re: MORE: Using git via USB for personal org dir and other data files Date: Sun, 1 Mar 2009 13:04:25 +1000 Message-ID: <7bef1f890902281904n48e02018lb7935e4defd8fe66@mail.gmail.com> References: <7bef1f890902272111l7611d157k984ca50251f20df6@mail.gmail.com> <871vti7klg.fsf@gollum.intra.norang.ca> <87r61ie3h9.fsf@kassiopeya.MSHEIMNETZ> <87skly5o18.fsf@gollum.intra.norang.ca> <87fxhydxll.fsf@kassiopeya.MSHEIMNETZ> <87eixi6o9x.fsf@kassiopeya.MSHEIMNETZ> <7bef1f890902281810n1ccda333yada4e62082bd92c8@mail.gmail.com> <87zlg655pk.fsf@kassiopeya.MSHEIMNETZ> <7bef1f890902281903xa296051xa844059dd4e392a7@mail.gmail.com> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============1762121090==" Return-path: Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ldbye-00028g-Sn for emacs-orgmode@gnu.org; Sat, 28 Feb 2009 22:04:28 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ldbyd-00028R-P8 for emacs-orgmode@gnu.org; Sat, 28 Feb 2009 22:04:28 -0500 Received: from [199.232.76.173] (port=42088 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ldbyd-00028N-IJ for emacs-orgmode@gnu.org; Sat, 28 Feb 2009 22:04:27 -0500 Received: from rv-out-0708.google.com ([209.85.198.250]:42729) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Ldbyc-0002Vu-Rg for emacs-orgmode@gnu.org; Sat, 28 Feb 2009 22:04:27 -0500 Received: by rv-out-0708.google.com with SMTP id f25so2004119rvb.6 for ; Sat, 28 Feb 2009 19:04:26 -0800 (PST) In-Reply-To: <7bef1f890902281903xa296051xa844059dd4e392a7@mail.gmail.com> 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 Mailinglist --===============1762121090== Content-Type: multipart/alternative; boundary=000e0cd32746a8b6fc046405f5e1 --000e0cd32746a8b6fc046405f5e1 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Thank you Bernt (and Sebastian): I now understand that it is necessary to pull the changes to the alternate tree before pushing. This will make a big difference in the future, I believe. It worked as advertized on the /tmp/junk experiment. I think the other point I had missed, that would be necessary in an FAQ or tutorial, is that it is necessary to initially clone each of the working trees, on each machine, from the bare repo on the USB flash drive. Then it now makes sense to me to name that as org.git, to distinguish it as a bare repo. And once the working trees are cloned from there, then the org.git on the USB drive is recognized automatically as "origin". That point eluded me. And that git pull will perhaps automatically find origin. Meld is starting to make sense too. Thought it would be nicer to have a tool that would be able to make simple updates from two edits on the same file if they don't conflict. Usually, this will not be the case. Now, is it useful to use the switches on an ext2 formatted USB drive, as follows? $ git clone -l --no-hardlinks --bare . /path/to/usb/stick Thank you again, Alan -- Alan Davis "An inviscid theory of flow renders the screw useless, but the need for one non-existent." ---Lord Raleigh (John William Strutt), or else his son, who was also a scientist. It is undesirable to believe a proposition when there is no ground whatsoever for supposing it is true. ---- Bertrand Russell --000e0cd32746a8b6fc046405f5e1 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

=A0Thank you Bernt (and Sebastian):

I= now understand that it is necessary to pull the changes to the alternate t= ree before pushing.=A0 This will make a big difference in the future, I bel= ieve.=A0 It worked as advertized on the /tmp/junk experiment.=A0

I think the other point I had missed, that would be necessary in an FAQ= or tutorial, is that it is necessary to initially clone each of the workin= g trees, on each machine, from the bare repo on the USB flash drive.=A0 The= n it now makes sense to me to name that as org.git, to distinguish it as a = bare repo.=A0 And once the working trees are cloned from there, then the or= g.git on the USB drive is recognized automatically as "origin".= =A0 That point eluded me.=A0=A0 And that git pull will perhaps automaticall= y find origin.

Meld is starting to make sense too.=A0 Thought it would be nicer to hav= e a tool that would be able to make simple updates from two edits on the sa= me file if they don't conflict.=A0 Usually, this will not be the case.<= br>
Now, is it useful to use the switches on an ext2 formatted USB drive, a= s follows?

=A0=A0=A0 $ git clone -l --no-hardlinks --bare . /path/to= /usb/stick

Thank you again,

Alan


--
Alan Davis

"An inviscid theory of flow renders the screw useles= s, but the need for one non-existent." =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0= =A0 =A0 ---Lord Raleigh (John William Strutt), or else his son, who was al= so a scientist.

It is undesirable to believe a proposition when
there is no ground = whatsoever for supposing it is true.
=A0 =A0 ---- Bertrand Russell
=



--000e0cd32746a8b6fc046405f5e1-- --===============1762121090== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Emacs-orgmode mailing list Remember: use `Reply All' to send replies to the list. Emacs-orgmode@gnu.org http://lists.gnu.org/mailman/listinfo/emacs-orgmode --===============1762121090==--