4 ms·
For those who aren't aware, Git is actually a fully decentralised system. It doesn't require a central server as such - though most teams use one, as it's a con
by peterkelly 10y ago
For those who aren't aware, Git is actually a fully decentralised system. It doesn't require a central server as such - though most teams use one, as it's a convenient setup for most projects.
Even if you are hosting on github/bitbucket/et. al. though, that repository is just one of many equals. You can push and pull from multiple peers as long as you have access set up appropriately.
I recommend the chapter on distributed workflows in Pro Git:
https://git-scm.com/book/en/v2/Distributed-Git-Distributed-Workflows https://git-scm.com/book/en/v2/Distributed-Git-Distributed-W...
There's also an explanation of the different supported protocols here:
https://git-scm.com/book/en/v2/Git-on-the-Server-The-Protocols https://git-scm.com/book/en/v2/Git-on-the-Server-The-Protoco...
- maccard 10y ago> Even if you are hosting on github/bitbucket/et. al. Normally if you're hosting on one of those sites, you're using other features (wiki/issues), which may _not_ be decentralised
- Chattered 10y agoI kept my office machine as an additional remote for when I was working at home, pushing over ssh to save an extra pull when I got in.