, , ,


git is an open source version control system written by Linus Torvalds. It’s main goals are to be highly decentralized and dramatically more efficient than its competitors. Yes, I know git isn’t supposed be used for such a menial task as maintaining a website, i.e. one developer and one copy of the code, but it works. Make changes to a local copy of a website’s code at home or on a laptop, and then have those changes take effect on a web host on the Internet: Here’s how to set that up….

Daniel Miessler refers to another write-up on the use of Git to manage a website, by Abhijit Menon-Sen. It is more detailed and better suited for someone who knows their way around a server, or at a minimum, has forked a bit in the recent past. I will post that link as Part 2. I was amused to read that the site where this article is posted is actually maintained using Git! 

Ok, one last warning on offending the git Gods. This is not how git was meant to be used. This hack we’re doing is like taking a space shuttle to 7-11. What we’re about to do is push changes we’ve made locally immediately to our “production” website. This is great for home use but horribly lame for any type of professional application.. 

via D.Miessler.

Have a look at Daniel MessieIer’s site. He has a variety of original tutorials on web development and network administration topics, usually with some sort of non-traditional approach. Everything is strictly white-hat however. I noticed that questions in the comments section always receive responses, and there weren’t any products or software for sale, both of which are good signs!