Git 2.3 Push to Deploy
Git 2.3 (Release Notes) was released today, bringing some exciting new changes. More importantly, it means an easier way to keep your server updated.
I previously wrote about a way to automagically update your site with changes to a repository. Now as long as your site doesn’t require a build step you can update your site by pushing directly to your webserver.
You can enable this on your server with the following command.
$ git config receive.denyCurrentBranch updateInstead
Nice and simple! Stay tuned.