I created a wonderful GitHub Pages website for my little project, and I added some other pages into the gh-pages branch. My problem is that, everytime I regenerate
gh-pages
You can configure Jekyll to skip certain directories with the exclude option.
exclude
(Note that Jekyll has a keep_files option -- that is for the files in the destintation directory.)
keep_files
destintation