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

Re: Syncing a git working tree with Dropbox?

From
Tay Ray Chuan <rctay89@gmail.com>
Date
Jan 14, 2010, 05:39 UTC
Message-ID
<be6fef0d1001132139p56944cdax22674ca773af0199@mail.gmail.com>
In-Reply-To
<20100113235718.GA7033@dulip>
Hi,
On Thu, Jan 14, 2010 at 7:57 AM, chombee <chombee@lavabit.com> wrote:
Show 11 quoted lines
> My idea is that I keep my .git folder safely outside of my Dropbox
> folder, but my git repository has a detached working tree that is
> located in the Dropbox folder. On machine B it would be the same setup.
> So the two machines each have their own clone of the git repo and these
> are synchronised by git push and git pull with a 'central' remote repo.
> But the two clones share the same working tree, or more accurately their
> working trees are synced by Dropbox.
>
> The working tree is just files, I don't see how it's different from
> Dropbox syncing any other files. Dropbox and git ought not to collide in
> any way. So this should work fine shouldn't it?
Your changes in git (like new commits) won't be synced.
-- 
Cheers,
Ray Chuan
Previous: chombeeNext: Geoffrey Lee
Message 2 of 4 in “Syncing a git working tree with Dropbox?”
  1. chombeeJan 13, 2010
  2. Tay Ray ChuanJan 14, 2010
  3. Geoffrey LeeJan 14, 2010
  4. chombeeJan 14, 2010

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.