pwmckenna / generator-travis-ci

Yeoman generator for travis-ci setup [available for Yeoman >= 1.0 beta]
http://npmjs.org/package/generator-travis-ci
30 stars 4 forks source link

User `subtree` instead of `submodule`. #3

Closed mysterycommand closed 11 years ago

mysterycommand commented 11 years ago

The Yeoman Deployment instructions seem to recommend subtree over submodule. As does this article from Atlassian.

Consider switching?

pwmckenna commented 11 years ago

The use of submodule is a complete mistake...I need to rewrite it to just do a git clone of the gh-pages branch. Its just there because I need both gh-pages and master branch code available at the same time (you can't build in master, then checkout gh-pages cleanly). Their recommendations are really for people committing to gh-pages manually, so the submodule or subtree needs to be committed to the master branch. In this case the goal was to not actually affect the repo, so all the changes that happen in the travis script disappear when the travis vm instance disappears.