TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

How to use Dropbox as a git server?

39 pointsby joemanacoover 14 years ago

9 comments

wladimirover 14 years ago
Do note that, with multiple users that have write access and push at the same time, this can result in race conditions and corrupted repositories. So only use this for a personal repository, or when the others only have read access.
评论 #2230948 未加载
评论 #2230889 未加载
almostover 14 years ago
Article could be summarized to one sentence "Put your git repo in your Dropbox". It does also go on to suggest that you share this folder with other Dropbox users but that's a bad idea. Even single users can end up with problems if they use multiple machines, git doesn't understand Dropbox's method of dealing with conflicts.
评论 #2231203 未加载
philjacksonover 14 years ago
This seems like a terrible idea. Not sure why it's getting so much attention, is it just because Dropbox is mentioned?<p><a href="https://git.wiki.kernel.org/index.php/GitHosting" rel="nofollow">https://git.wiki.kernel.org/index.php/GitHosting</a> is where I would say people should start if they want to host a .git.
评论 #2231523 未加载
wccrawfordover 14 years ago
I think calling it a 'git server' is a bit much. Its only feature is to sync the repo between different computers. As wladimir pointed out, it's not even reliable when you have multiple committers.
remiover 14 years ago
How is this different from <a href="http://news.ycombinator.com/item?id=2229756" rel="nofollow">http://news.ycombinator.com/item?id=2229756</a> (still on the frontpage) ?
评论 #2231161 未加载
kjhgfhjkhgfvover 14 years ago
It does work for a central 'master' repository that people push/pull rarely when new versions are done but otherwise it's only good for a single user.
joemanacoover 14 years ago
hmmm.... I've used that together with a friend for quite some time now and we never had problems. I assume we were just lucky. Thank you people, for clearing that up.<p>And yes, of course you're right, it's not really a server.
JoelMcCrackenover 14 years ago
I've been doing this for a while now. I didn't even think anything of it.
wtnover 14 years ago
Next post: How to use Gitosis as a git server