jeff1evesque / grunt

Automates Sass, Uglify, Imagemin, Modernizr
1 stars 0 forks source link

Documentation: Update submodules #67

Closed jeff1evesque closed 10 years ago

jeff1evesque commented 10 years ago

When updating grunt submodules, we will need to temporarily comment one line from .gitmodules. For example:

[submodule "node_modules/grunt-cli"]
  path = node_modules/grunt-cli
  url = git://github.com/gruntjs/grunt-cli.git
# ignore = dirty

Once, the submodule has been updated, we can remove the comment.

jeff1evesque commented 10 years ago

We are only updating the submodule reference (commit tag), and not its contents. Therefore, submodules can still be updated regardless of whether #ignore = dirty attribute is defined.