4 ms·
Git is decentralized so it doesn't really matter where it's hosted. Github works since it's free, but everyone who checks out the source will have the full git
by dalore 8y ago
Git is decentralized so it doesn't really matter where it's hosted. Github works since it's free, but everyone who checks out the source will have the full git history and so also becomes another repository. Easy to move a git repo to somewhere else.
- giobox 8y agoWhile this can be argued to be true of git in a technical sense, virtually all git projects in practice have a central source of truth repository. GitHub’s entire business model is largely predicated on the fact projects will use it as their primary repository. If we are talking about accepting PRs for drafting legislation in git, where it is hosted and who hosts it becomes extremely important. Sure anyone can clone/fork, but only the appointed central repo could become law. A clone that you or I make will likely never have this ability.
- dalore 8y agoYes, need to agree on a central place to push/pull and create PRs from. But my point is that right now people are using GitHub but if any point they want to change, or GitHub go down (or change licensing etc), they aren't beholden to them. Just push the git repository to somewhere else and agree to that. Other developers would confirm the git repo is the same.