Re: rsync vs. git-push/pull ? (+kudus)
- From
- Ramagudi Naziir <naziirr@gmail.com>
- Date
- Sep 10, 2008, 06:35 UTC
- Message-ID
- <dfb262380809092335q3d61488gf680c91ac23e69da@mail.gmail.com>
- In-Reply-To
- <20080907073821.GA28289@linode.davidb.org>
Hi David,
On Sun, Sep 7, 2008 at 10:38 AM, David Brown <git@davidb.org> wrote:
Show 10 quoted lines
> 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.
can you please elaborate on this technique ? I don't really get it. You mean you have an empty git repository somewhere, with which you are synchronizing all other repositories ?
Show 5 quoted lines
> > 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.
so you have myriad of git repositories ? and you push/pull all of them every time you move to another station ? I also have a lot of git repositories, even for stuff other than source code projects.
thank you naziir
> > David >