We want to add this as a subrepository to our main project.
git submodule add git://github.com/WordPress/WordPres
s.git wordpress
Setting up SSH host shortnames
Now with this file saved, you can ssh into
server2.internet.com
with just the following command:ssh server2
Medium’s CSS Guide
Not long after introducing scales to Medium, we started in on a big re-style code named “Cocoon”.
A Simple Script for Deploying Code With Github’s WebHooks
Learning source control with Git has completely changed how I build things. I was recently trying to hunt down an easy way to push up new code to my servers rather than sitting in an SSH session repeatedly running
git pull
to grab the latest files.Enter WebHooks. The idea is that when code gets committed to a repo, Github will send a POST request to a URL. In this (very simple) case, you can have it hit a script that can execute your
git pull
command.