From mboxrd@z Thu Jan 1 00:00:00 1970 From: Eric Abrahamsen Subject: Re: Favorite way of syncing? Date: Fri, 11 Sep 2015 23:18:12 +0800 Message-ID: <87a8strnm3.fsf@ericabrahamsen.net> References: <87twr1c8s3.fsf@yale.edu> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:40924) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZaQ5x-00015l-Aq for emacs-orgmode@gnu.org; Fri, 11 Sep 2015 11:18:37 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZaQ5t-0002O2-2B for emacs-orgmode@gnu.org; Fri, 11 Sep 2015 11:18:32 -0400 Received: from plane.gmane.org ([80.91.229.3]:46905) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZaQ5s-0002Np-Rg for emacs-orgmode@gnu.org; Fri, 11 Sep 2015 11:18:28 -0400 Received: from list by plane.gmane.org with local (Exim 4.69) (envelope-from ) id 1ZaQ5n-0007AM-WF for emacs-orgmode@gnu.org; Fri, 11 Sep 2015 17:18:24 +0200 Received: from 123.118.189.87 ([123.118.189.87]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Sep 2015 17:18:23 +0200 Received: from eric by 123.118.189.87 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Fri, 11 Sep 2015 17:18:23 +0200 List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org Sender: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane.org@gnu.org To: emacs-orgmode@gnu.org jorge.alfaro-murillo@yale.edu (Jorge A. Alfaro-Murillo) writes: > Tobias Frischholz writes: > >> I was wondering what is your favorite way of syncing your org files >> and everything. > [...] >> I’ve also read about org-sync and magit (git is an option for me). >> And now I’m starting the get confused. > > magit is just the emacs mode for git, if you don't have it and use git > you should really install it. But it does not sync anything you still > have to M-x magit F F and M-x magit P P, for pull and > push. > > I have several computers and synchronize my org files with git. I > think it is the best option because I do not have to worry about the > sync not working (for example when I do not have a connection) and > conflicts in the files. I do this, too. I don't think Magit helps much, in fact I'd be better off writing functions for `emacs-startup-hook' and `kill-emacs-hook' that do my pushes and pulls for me. But for now, I just try to remember to commit and push before I leave a machine. This way, you also really learn to appreciate using "git fetch" and "git status", rather than doing a blind "git pull". Eric