Updating External Dependencies - We-Amp/mod_pagespeed GitHub Wiki

  1. Set up a work branch as usual
  2. Go to directory you want to update, e.g. cd third_party/libpng/src
  3. git pull to pick up the most recent stage of remote repository
  4. Checkout the version you want, e.g. git checkout v1.2.57
  5. cd ..
  6. Add the submodule directory as to a commit in the main checkout, e.g. git add src
  7. Make a commit, push it, create a pull requests as usual