I have two jobs. I write PHP code for our company and I do linux admin. On the code side, we have everything in a private repo in Github. And it's AWESOME. I want to do the same thing for our linux admin scripts. There seems to be no reason not to put them in version control, but I have some questions.
How do you people handle this? Anyone have an awesome system for keeping scripts under version control? Do you host them on a server so you can just wget/curl then and execute? How do you fix bugs that only present on specific servers? Do you git clone
, fix, and push directly from there? Or do you copy/paste code back to the server that hosts your scripts and commit/push code from there?
[link][16 comments]