Skip to content

Instantly share code, notes, and snippets.

@goozbach
Created February 16, 2014 10:57
Show Gist options
  • Save goozbach/9032485 to your computer and use it in GitHub Desktop.
Save goozbach/9032485 to your computer and use it in GitHub Desktop.
updating a large tree of git submodules
#!/bin/bash
git submodule sync
git submodule update
git submodule foreach git submodule sync
git submodule foreach git submodule update
git submodule foreach git submodule foreach git submodule sync
git submodule foreach git submodule foreach git submodule update
git submodule foreach git submodule foreach git submodule foreach git submodule sync
git submodule foreach git submodule foreach git submodule foreach git submodule update
git submodule foreach git submodule foreach git submodule foreach git submodule foreach git submodule sync
git submodule foreach git submodule foreach git submodule foreach git submodule foreach git submodule update
git submodule foreach git submodule foreach git submodule foreach git submodule foreach git submodule foreach git submodule sync
git submodule foreach git submodule foreach git submodule foreach git submodule foreach git submodule foreach git submodule update
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment