News for hackers. Stuff that matters.
Re:Using git and dropbox together by latch on Thursday February 17, 2011 @12:25AM (#2229897)
There's a hump where people associate the push as something magical in version control. While that may be true of some systems, in a distributed system the commit is actually what's important.

I find git+dropbox particularly useful for non-public projects I work on on my own. I used to use a private github unfuddle repository and do a remote push, but now I just forget about the push and commit from within the dropbox folder.

The nice thing about Dropbox, and why I'm actually surprised this needs to be asked, is that it's completely transparent..it's just a folder. Create a project, git init and commit like you normally would.

Re:Using git and dropbox together by tomstuart on Thursday February 17, 2011 @03:04AM (#2230258)
It needs to be asked because a Git repository is a database.

What would happen if you had two MySQL servers running off the same data files in a shared Dropbox folder? Is that a good replication strategy?

Re:Using git and dropbox together by beza1e1 on Thursday February 17, 2011 @03:17AM (#2230269)
Easy there! MySQL is something completely different. If relational database replication would be as easy as Dropbox, then they would all support it out of the box. Do NOT use MySQL on Dropbox!

Dropbox is for stuff, which needs to be synced but is (usually) not accessed concurrently. The programmer with the Dropbox-git will not code on two computers at once.

Re:Using git and dropbox together by dalore on Thursday February 17, 2011 @07:48AM (#2230709)
No it's not. Git stores all it's internal data as hashes, and the chance of a collision is really small.

It was designed so it could be accessed via ssh for instance with multiple people pushing into at the same time.