Skip to content

Bootstrap Submodule Workflow

Kevin Wang edited this page Aug 2, 2014 · 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 <Modified Bootstrap CSS/JS Files> bootstrap
  10. git commit
  11. git push

Example commit: https://github.com/prog694/prog694.github.com/commit/97ac37b9349ed855519403a11e7009cc99a8a1a4

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

Clone this wiki locally