Hacker News new | ask | show | jobs
by UnoriginalGuy 4886 days ago
Is that a real question? Git is local only. It is not centralised.

Are you confusing Git with Github (service)?

2 comments

There are plenty of remote Git hosts (Bitbucket, RepositoryHosting, etc)...
Indeed there are. People are using Dropbox as one of them.

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.

Git is as centralized as you want it to be; look up "bare repos" sometime.
I asked a question about the merits of using dropbox and git and I specifically asked what I was moissing. How can a question "be wrong"? You have yet to answer what Dropbox+git offers that git+backup system does not.

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.

> How can a question "be wrong"?

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.

> The question was misinformation.

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...

[2] http://git-scm.com/book/en/Git-on-the-Server

[3] http://sitaramc.github.com/gitolite/g2/pictures.html

Yes it was a real question, one that you did not address at all. And what does "Git is local onl)" mean? If it was local only how did git replace bitkeeper?

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.