4 ms·
You don't need a private server at all to figure out how to use Git.
by sigjuice 9y ago
You don't need a private server at all to figure out how to use Git.
- ge96 9y agoNo I was just being cheap, I didn't want to pay for the Private Git server through Git Hub, but I do need to know how to use it. Like the push to live(instead of SFTP), separate branches, allocating resources assuming you're using Git on the same server that's hosting your site, apparently it's not bad if you don't have a lot of users/commits.
- rblatz 9y agoGit is decentralized, you don't need any server anywhere for it. You could just use it locally and email patches around.
- freedomben 9y agoYes you COULD, but you can also haul water into your home via buckets from the well :-) But setting up a git server is so easy if you don't care about having a UI like github or gitlab. Git talks SSH, so pretty much just spin up a VPS, get it SSHable, then install git, create a bare repo, and push to that path.
- rblatz 9y agoOh yeah I don't use it that way, but if you just want to learn how to use git setting up a server isn't needed. Also I agree that emailing patches seems like an archaic way to do things, but that's how Linux handles PRs. http://elinux.org/Patch_Submission_HOWTO http://elinux.org/Patch_Submission_HOWTO
- sigjuice 9y agoWhile learning git, if you want a place to push, an SSHable place is still unnecessary. The bare repo can simply be another directory on the same system.