New Git Documentation

We have created a new guide on using Git with your OCS Solutions hosting account on our support wiki.  This guide gives assistance with creating, managing, and updating Git repositories on your hosting account.

It provides a practical example on how to use Git to manage your website hosting files.  You can use Git to manage the files in your ~/public_html folder for PHP and HTML-based sites, or your ~/rails_apps/yourapp folder if you have a Rails-based site.  Also included are instructions on hiding your .git folder from prying eyes if you use it to manage your website, enhancing your site security.

The advantages that Git has over Subversion are that it is typically faster to use, uses less network bandwidth when transferring data from one repository to another, and its decentralized, meaning branching is easier and you don’t have to rely on a central server for updates.  I personally find Git a better overall experience than Subversion because of the way the entire repository sits on your computer and on other locations your code exists, providing complete redundancy and easier portability for coding on the go.

If you haven’t given our Git support a try, we encourage you to.  You can learn more about Git at the official Git website.


Leave a Reply