Author Archives: Jason

Sample Git Ignore File For Magento

Magento 1.7, Git 1.7 This subject is open to vicious debate. In my own opinion, every Magento site’s .gitignore file will (and probably should) be different. I’m working on a project where content is added on the production environment and needs to be available on the local and staging environments as well. This content is […]

Reboot Your Git Repo To Fresh State

Git 1.7 Scenario I want to remove all commits and history from the repository and start again, as it were, with a fresh repo. Let’s say this is for efficiency’s sake. Solution There are a few amazing options available to you with Git, but to be honest, it’s best to just start again. It’s not […]

Change The Default SSH Port Mac OS X

Mac OS X Snow Leopard, CentOS 6 A while back I wrote a few articles on improving security on your production server. A lot of chatter revolved around using non-standard ports for connecting via SSH. This affects other services that use SSH, such as Git, SFTP and others. Today I’m going to show you a […]