I discovered GitHub some time ago, and I’m loving it. It’s got an awesome UI, lets me code from anywhere, is free, etc., etc.
However, now that I’m using GitHub a lot, I’m starting to code on mobile devices (iPod Touch, Kindle Fire). However, I can’t test the websites I’m working on without a laborious download process that only works on the Kindle Fire.
I’ve seen other approaches that involve me having to type stuff into a shell, or modify the Git config. While fine on a desktop, that doesn’t work for online file editing – just opening the file on GitHub.com and pressing Edit and typing a commit message.
How can I push the master branch to gh-pages automatically when I’m using a mobile device – without filesystem access or a shell?
Well, here’s a solution I’ve found – it’s not automatic, but it is good enough for me.
I hope this works – it’s not perfect, and isn’t automatic, but it is only using GitHub and doesn’t take terribly long.