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

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

From
RNRamagudi Naziir <naziirr@gmail.com>
Date
Sep 7, 2008, 06:11 UTC
Message-ID
<dfb262380809062311i3fffb900m5d73f5396b403dbe@mail.gmail.com>
Hi all,

I have several local git repositories on my machine. I'm the only user, and use them only locally. Now, sometimes when I need to work remotely, I just rsync my repositories to my laptop, and keep working there. When I finish (few hours, days or sometimes weeks later), I just rsync everything back to my local git repositories on my main workstation, and continue working there.

Now I was wondering whether it's OK or whether there are bad implication I might not think of working this way. For example, maybe some of these little git files are named differently on each machine, and rsyncing them back and forth makes me piling a lot of clutter (in that case maybe git-gc will clean up everything). Or maybe something else horrid is going on and I really should just use git-push or pull.

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..

Thanks a ton !! Naziir

(btw - I read tons of free/open source development mailing lists and I think that git has the best community by far. always so helpful and nice. so thanks for all the help thus far as well)

Next: david@lang.hm
Message 1 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.