It is expected since they’re by far the most popular platforms. It gives easy access and visibility.
Git is a distributed system, github repo can be taken down, but all that’s lost are tickets and other non-git data, so who cares.
When people say git is distributed, they mean that your repo is the whole repo; it has a complete history in it as much as any repo and you can do all your usual operations offline if you want to. Origin isn’t special, it’s just the default name for one remote. It’s specifically not a client/server arrangement like SVN.
When people say git is distributed, they mean that your repo is the whole repo; it has a complete history in it as much as any repo and you can do all your usual operations offline if you want to.
This umm, is not true either. You have the whole history of a branch or a half dozen branches, but you don’t have everything origin has unless you really wanted to clone the entire repository. Most clones are just of the main branch.
It is expected since they’re by far the most popular platforms. It gives easy access and visibility.
Git is a distributed system, github repo can be taken down, but all that’s lost are tickets and other non-git data, so who cares.
Git is not at all distributed.
When people say git is distributed, they mean that your repo is the whole repo; it has a complete history in it as much as any repo and you can do all your usual operations offline if you want to. Origin isn’t special, it’s just the default name for one remote. It’s specifically not a client/server arrangement like SVN.
Right?! I have several “remotes” on most of my repos, and the fact that I have separate clones on a few machines means I have a lot of redundancy tbh
Although, Google’s
repotool (horrible name) does shallow clones by default, making it more client/server oriented…This umm, is not true either. You have the whole history of a branch or a half dozen branches, but you don’t have everything origin has unless you really wanted to clone the entire repository. Most clones are just of the main branch.
If you have all the valuable changes across private feature branches, you might want to reconsider your methodology.
It’s still technically false either way.