[1] I'm not saying this because git is the magic fairy dust. Replace git with hg, darcs etc.
[1] I'm not saying this because git is the magic fairy dust. Replace git with hg, darcs etc.
There's no way I'd trust Dropbox to touch my git repos.
1: http://intermediaware.com/blog/how-to-use-dropbox-as-a-git-r...
Which did happen about two weeks ago. My laptop let the magic smoke out, and my deja dup backup wouldn't restore.
Edit: actually it looks like most people use a bare repo on dropbox so you still push/pull from it. I don't understand the use-case at all then.
Personally, I think it's stupid. If it's a non-secret project, host it on github and do a '[le]git sync' every few minutes (from a cronjob, if you insist).
If you don't want to expose it on github, why on earth do you trust dropbox to keep it?
Obviously I just keep my private repos on my own server. Who doesn't have their own server these days anyway?
Are you confusing Git with Github (service)?
But saying "why use Git with Dropbox it makes no sense?!" is actually wrong. It makes perfect sense. Git is not centralised. You cannot access your repository from a remote host.
Dropbox as well as Github and a number of alternative service allow that.
I cannot access my repository from a remote host? I am guessing that you run windows, I don't. I can ssh into any machine that I need to access.
The question was misinformation. Git within its self doesn't offer a centralised storage system.
The question implied it did. You didn't ask for a comparison, you implied there was no comparison to be made because Git already had it all.
> You have yet to answer what Dropbox+git offers that git+backup system does not.
Nothing. Same thing.
Please tell me where the "misinformation" is in the following question:
What does dropbox add that you don't get from git?[1] And/or with git and a
decent backup system(tarsnap/duplicity/rsync)? It seems like a lot of extra
overhead and data privacy concerns for little gain. What am I missing?
And while we are at it please explain how I did not ask for a comparison?As far as "git does not offer a centralized storage system" goes, Scott Chacon seems to disagree with you:
"If you have a small team or are already comfortable with a centralized workflow in your company or team, you can easily continue using that workflow with Git. Simply set up a single repository, and give everyone on your team push access[1]"
You did not mention if you are a windows user. I imagine that you are if you are not aware of the options to run your own git server. Of the many ways to set up a git server that are presented in Pro Git[2] my favorite is gitolite[3]. But there are lots of other ways, I recommend you take a look at the the options for yourself.
[1] http://git-scm.com/book/en/Distributed-Git-Distributed-Workf...
I don't use github. I have a local server running gitolite that I use all the time. There is a cron script that pushes all of the repos to an offsite machine just in case. And this is in addition to normal backup system with duplicity.