How do I push jekyll _site directory to gh-pages branch, and leave the source in master?
问题 I have a basic jekyll site consisting of pages (not posts) but, because I wanted to sort the pages when I listed them, I had to use the Jekyll-Sort plugin (kinda weird sorting pages is not built in to jekyll). Because I'm using a plugin, I can't leverage GitHub's auto jekylling. So I'd like to push the source code of the project to the master branch and just the _site directory to the gh-pages branch. I can't figure out how to do this - I tried adding a git repo inside the _site directory to