3 ms·
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 comm
by latch 16y ago
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.
- deleted 16y ago[deleted]
- tomstuart 16y agoIt 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?
- beza1e1 16y agoEasy 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.
- dalore 16y agoNo 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.