| ▲ | The bare minimum for syncing Git repos(alexwlchan.net) | |||||||||||||||||||
| 7 points by speckx 4 days ago | 4 comments | ||||||||||||||||||||
| ▲ | donatj an hour ago | parent [-] | |||||||||||||||||||
It's interesting to me every time one of these "I just figured out I can use git without GitHub" posts comes up. The entire design of git was intended to be decentralized. You really don't even need the centralized bare repo! You can just point your machines at each other. With Tailscale these days that's especially easy. Admittedly, I'm getting old, but for the first couple years I used git professionally ~2008-2011 we just pulled from each other's machines. Directly over SSH. We worked in an office, all had each other's machines as remotes. "Hey, is that feature done? Cool, I'll pull it". It worked really well. Eventually we tossed a bare repo up on a server in the office and switched to push instead of pull. Finish a feature? Push it up! At some point our devops guy installed Gitlab around that, but we never really used the web ui. Winds changed, we moved to GitHub, eventually a pull request / code review workflow. Here we are now. | ||||||||||||||||||||
| ||||||||||||||||||||