I've just upgraded git on my remote host to 2.3.0
As noted in a recent article on GitHub's blog, this version has a feature called 'push to deploy' whereby you run the following config command in your remote repository.
git config receive.denyCurrentBranch updateInstead
I've got this working, so now in order to publish a blog article such as this, I do the following :-
- Edit the markdown file in Emacs
- Use Magit to commit and push
That's about as easy as I want it to be.