#!/bin/sh # This work is marked with CC0 1.0. To view a copy of this license, visit # . # Git hook to update submodules to their latest versions before committing # changes, good for monorepos constructed from various other repositories. git submodule foreach 'git pull' git add