git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: rsync vs. git-push/pull ? (+kudus)

From
David Brown <git@davidb.org>
Date
Sep 7, 2008, 07:38 UTC
Message-ID
<20080907073821.GA28289@linode.davidb.org>
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
Previous: david@lang.hmNext: Ramagudi Naziir
Message 5 of 7 in “rsync vs. git-push/pull ? (+kudus)”
  1. Ramagudi NaziirSep 7, 2008
  2. david@lang.hmSep 7, 2008
  3. Ramagudi NaziirSep 10, 2008
  4. david@lang.hmSep 10, 2008
  5. David BrownSep 7, 2008
  6. Ramagudi NaziirSep 10, 2008
  7. Matthieu MoySep 10, 2008

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.