I got the theme up and running on my GH pages, using the dual branch approach as recommend and running the rake file to differentiate between the two. Now however, all my local files correspond to those in the gh-pages branch, while I'd much prefer tinkering with those in the main branch, e.g. the .md files in _posts, the .html files in _includes etc.
Right now I'm running a procedure where I, after having pushed my changes to both branches, basically delete everything locally for then to clone the main branch onto my machine. It works, but I'd much rather just keep the files pertaining the main branch locally in the first place.
I got the theme up and running on my GH pages, using the dual branch approach as recommend and running the
rake
file to differentiate between the two. Now however, all my local files correspond to those in the gh-pages branch, while I'd much prefer tinkering with those in the main branch, e.g. the .md files in_posts
, the .html files in_includes
etc.Right now I'm running a procedure where I, after having pushed my changes to both branches, basically delete everything locally for then to clone the main branch onto my machine. It works, but I'd much rather just keep the files pertaining the main branch locally in the first place.
Is there an easier way for me to do things?