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.

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

174 pointsby anishathalyealmost 10 years ago

16 comments

cryptographalmost 10 years ago
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 未加载
dr4g0nalmost 10 years ago
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 未加载
viraptoralmost 10 years ago
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 未加载
gingerlimealmost 10 years ago
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...
amalagalmost 10 years ago
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 未加载
dkarapetyanalmost 10 years ago
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 未加载
zkhaliquealmost 10 years ago
How about the other way around ... using git + node watch plugin to make a owncloud dropbox?
lclementealmost 10 years ago
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.
tlarkworthyalmost 10 years ago
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 未加载
snnnalmost 10 years ago
Why not just use visual studio online, it&#x27;s free for unlimited private repos.
forgotmypasswalmost 10 years ago
&gt;We keep all of our files in Dropbox.<p>Wrong.
rcarmoalmost 10 years ago
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 未加载
andreasklingeralmost 10 years ago
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 未加载
stonewhitealmost 10 years ago
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.
tcdentalmost 10 years ago
This seems like something Dropbox should be aware of, and actively trying to fix.
评论 #10095952 未加载
Vecriosalmost 10 years ago
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?