git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: David Brown <git@davidb.org>
To: Ramagudi Naziir <naziirr@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: rsync vs. git-push/pull ? (+kudus)
Date: Sun, 7 Sep 2008 00:38:21 -0700	[thread overview]
Message-ID: <20080907073821.GA28289@linode.davidb.org> (raw)
In-Reply-To: <dfb262380809062311i3fffb900m5d73f5396b403dbe@mail.gmail.com>

On Sun, Sep 07, 2008 at 09:11:47AM +0300, Ramagudi Naziir wrote:

>I really prefer rsync to git-push/pull since it is much more easier -
>It's one command that syncs my whole working folder, including the git
>repositories..

I used to do this quite a bit until after a few times I forgot to sync
before changing things.  I solved this by creating a bare repo I could
push/pull from, and pushing one of them to it, then fetching and
merging in the other.

After getting more familiar with git, I now use git with push/pull for
pretty much anything I want synchronized.  It nicely keeps track of
what I've done, whereas it is easier with rsync, or even unison, to
forget to do the sync.

David

  parent reply	other threads:[~2008-09-07  7:39 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-07  6:11 rsync vs. git-push/pull ? (+kudus) Ramagudi Naziir
2008-09-07  6:27 ` david
2008-09-10  6:31   ` Ramagudi Naziir
2008-09-10 13:27     ` david
2008-09-07  7:38 ` David Brown [this message]
2008-09-10  6:35   ` Ramagudi Naziir
2008-09-10  7:05 ` Matthieu Moy

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

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20080907073821.GA28289@linode.davidb.org \
    --to=git@davidb.org \
    --cc=git@vger.kernel.org \
    --cc=naziirr@gmail.com \
    /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.
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 NNTP newsgroup(s).