6 ms·
Code availability from anywhere without having to manage your own repo server. Even for a single dev it might be worth it to be able to check out to your norma
by Pyrodogg 15y ago
Code availability from anywhere without having to manage your own repo server.
Even for a single dev it might be worth it to be able to check out to your normal dev workstation, your laptop, and even on a totally random pc when the need arises. It also allows you to checkup on things through the web when a pc to checkout on isn't available.
- icebraining 15y agoYeah, I guess I assume any developer has some online "drive", be it Dropbox, a NAS or just some web based storage. That's all you really need for a git repository.
- glenngillen 15y agoAnd for a single dev who actually has a need to be concerned about all of these things, $200/month doesn't seem unreasonable to have someone else manage it all for you. The alternative is of course to run your own repo server as you said, which with git can be as simple as just a directory you can access via SSH.
- rhizome 15y agoI've been running my own SVN server for nigh-on 10 years and it requires very little management, if any at all. I imagine git is similar.
- ConstantineXVI 15y agoA git server (at least on a personal scope) requires close to zero management. Fire up an Ubuntu box on Linode or such, `sudo apt-get install git`, boom, there's your server. A git server is nothing more than "filesystem + SSH + git". Not to say GitHub doesn't make it even more convenient, but the DIY option isn't exactly difficult either.
- wheels 15y agoGitosis also takes like all of 5 minutes to set up and then you've got repositories that you can collaborate on and manage permissions between projects. http://scie.nti.st/2007/11/14/hosting-git-repositories-the-easy-and-secure-way http://scie.nti.st/2007/11/14/hosting-git-repositories-the-e... I set up our repo hosting using Gitosis a few years back and haven't had to think about it since. Accounts are also managed via a special repo so even that is done over git. You could also put your collection of repositories on your Dropbox and clone from / push to there.
- edcrfv 15y agoGitolite is a better tool, with more options. It's easier to manage who gets access to what as well with gitolite.
- nirvdrum 15y agoI do this now. It works. It just sucks. Rather than have everything in one consolidated location, I have to recall where I put things. It seems like a small thing, and in the grand scheme of things it is, but it's really annoying. And if I'm already going to manage my own server for private repos, then why bother with a paid GitHub account?
- scrrr 15y agoI agree. I have a 40 Euro per month server solely for things like a MediaWiki, backup storage and git repositories. Granted, it takes a little bit of Linux-administration, but that's a useful skill anyway. And creating a new git repo just takes 15 seconds: cd /opt/git mkdir reponame.git cd reponame.git git init --bare cd .. chown -R username:username reponame.git That's it. Having said that Github is obviously great (nay, awesome) for larger teams (comment features etc.) and, of course, open-source projects.
- zyb09 15y agoYou can use Dropbox as Git server if you wan't.
- damncabbage 15y agoPlease don't ever do this, unless you wish to invite Dropbox's file syncing to destroy your repo. (See http://stackoverflow.com/questions/1964347/mercurial-and-i-guess-git-with-dropbox-any-drawbacks http://stackoverflow.com/questions/1964347/mercurial-and-i-g... and http://stackoverflow.com/questions/1960799/using-gitdropbox-together-effectively/5193256#5193256 http://stackoverflow.com/questions/1960799/using-gitdropbox-... )
- eliben 15y agoThe top-rated answer there warmly recommends using Git on top of DB.
- damncabbage 15y agoYes. I'm sure it works for the common case. It's the edge-case problems outlined in the answers below it that worry me more. Going out on a limb: I'd assume that if you care enough about your data to version it in a git repo, then I'd also assume that you'd not enjoy it exploding because of a sync problem between two computers.
- nspragmatic 15y ago> wan't In what implementation of the English language would that contraction make any sort of sense?
- FlowerPower 15y agoDon't you have even an old spare computer to put aisde in the attic/closet for your personal ssh/web/git serving needs?