Skip to content

Bootstrap Submodule Workflow

Kevin Wang edited this page Feb 21, 2015 · 3 revisions

The objective of this workflow is to commit both the updated submodule and the compiled Bootstrap files at the same time.

  1. git submodule update --init
  2. cd bootstrap
  3. Modify appropriate .less files in less/
  4. make
  5. git add <Modified Files>
  6. git commit
  7. git push
  8. cd .. (back to the website repo)
  9. git add bootstrap <Modified Bootstrap CSS/JS Files>
  10. git commit
  11. git push

Example commit: https://github.com/Team694/team694.github.io/commit/97ac37b9349ed855519403a11e7009cc99a8a1a4

Note how both the submodule and the compiled CSS file appear in the same commit.

Clone this wiki locally