TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Show HN: Git-remote-dropbox – use Dropbox as a true Git server

174 点作者 anishathalye将近 10 年前

16 条评论

cryptograph将近 10 年前
Why not just use BitBucket? It's free and reliable and is meant as a repository manager. And trusted like GitHub, but BitBucket also gives you unlimited public AND private repos. Did I mention free?
评论 #10090489 未加载
评论 #10090721 未加载
评论 #10090502 未加载
评论 #10091051 未加载
评论 #10090001 未加载
评论 #10090714 未加载
dr4g0n将近 10 年前
Looks good, I had previously used Dropbox for personal repositories, but now I might try using them for shared ones.<p>It seems from a quick read of the design document [1] that the important thing here is the updating of refs using a compare-and-swap, ensuring that the synchronisation issues that typically occur with using Dropbox as a remote cannot occur. Objects are always* safe from this since the file names are SHA1 hashes.<p>Edit: The only downside I can see with this is that the remote will never have garbage collection take place, so unreachable objects will continue to take up space indefinitely.<p>[1]: <a href="https:&#x2F;&#x2F;github.com&#x2F;anishathalye&#x2F;git-remote-dropbox&#x2F;blob&#x2F;master&#x2F;DESIGN.md" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;anishathalye&#x2F;git-remote-dropbox&#x2F;blob&#x2F;mast...</a>
评论 #10089591 未加载
评论 #10089537 未加载
viraptor将近 10 年前
Just curious... Given that we have gitlab, bitbucket, assembla, etc. which provide free private git hosting and even more services if you don&#x27;t need private repo - why would anyone host on dropbox?
评论 #10089672 未加载
gingerlime将近 10 年前
Seeing all those &quot;why not use X instead&quot; makes me wonder why it appears to be a binary option? Git lets you use ALL of them. You can push to multiple remotes and even automate things with hooks if you need to. Perfect for backup and redundancy in case any single remote is unavailable...
amalag将近 10 年前
This is also really useful<p>How to Use S3 as a Private Git Repository<p><a href="http:&#x2F;&#x2F;www.fancybeans.com&#x2F;blog&#x2F;2012&#x2F;08&#x2F;24&#x2F;how-to-use-s3-as-a-private-git-repository&#x2F;" rel="nofollow">http:&#x2F;&#x2F;www.fancybeans.com&#x2F;blog&#x2F;2012&#x2F;08&#x2F;24&#x2F;how-to-use-s3-as-a...</a>
评论 #10090006 未加载
dkarapetyan将近 10 年前
Or you know pay $5 and host your git repositories at Digital Ocean or some other VPS provider. I honestly don&#x27;t get this obsession of tacking on git on top of things like Dropbox. If you&#x27;re technical enough to understand git then you&#x27;re technical enough to set up your own hosting server. Just skip the middleman.
评论 #10090361 未加载
zkhalique将近 10 年前
How about the other way around ... using git + node watch plugin to make a owncloud dropbox?
lclemente将近 10 年前
Shameless plug: If you want the data in dropbox encrypted, try <a href="https:&#x2F;&#x2F;github.com&#x2F;lucas-clemente&#x2F;git-cr" rel="nofollow">https:&#x2F;&#x2F;github.com&#x2F;lucas-clemente&#x2F;git-cr</a> :) I think I&#x27;ve also solved most of the concurrency problems, but haven&#x27;t tested it yet.
tlarkworthy将近 10 年前
bare git on dropbox is not dangerous in a multi user setup. I tested it a few years ago, the conflicts are minor annoyances but never destructive nor silent.<p><a href="http:&#x2F;&#x2F;edinburghhacklab.com&#x2F;2012&#x2F;11&#x2F;when-git-on-dropbox-conflicts-no-problem&#x2F;" rel="nofollow">http:&#x2F;&#x2F;edinburghhacklab.com&#x2F;2012&#x2F;11&#x2F;when-git-on-dropbox-conf...</a>
评论 #10089570 未加载
评论 #10090575 未加载
snnn将近 10 年前
Why not just use visual studio online, it&#x27;s free for unlimited private repos.
forgotmypassw将近 10 年前
&gt;We keep all of our files in Dropbox.<p>Wrong.
rcarmo将近 10 年前
Hmmm. I&#x27;ve been storing Git repos in Dropbox for... ages. Haven&#x27;t tried sharing them, but for a single user I see no need to have an additional piece of software.<p>I am, however, quite interested in the potential for business-related repos - I guess it all depends on the authentication and transport mechanisms (I assume this will be using Dropbox&#x27;s auth and TLS API)?
评论 #10090824 未加载
andreasklinger将近 10 年前
I am a bit confused.<p>This only represents server side right?<p>You are still not expected to leave the working directory in the Dropbox folder?<p>Reason i ask - Dropbox&#x27;s client is very inefficient when it comes to small files.
评论 #10090252 未加载
评论 #10089979 未加载
stonewhite将近 10 年前
I used to mock people for using Dropbox for deployment (by configuring the document root as the dropbox folder).<p>I hope they won&#x27;t discover if I start using this.
tcdent将近 10 年前
This seems like something Dropbox should be aware of, and actively trying to fix.
评论 #10095952 未加载
Vecrios将近 10 年前
I&#x27;m still not sold on the idea of using Dropbox and Git on the same folder. Would anyone mind explaining the benefits of having such setup?