Skip to content

Tips and Tricks for dealing with the clawpack submodule structure

Randall J. LeVeque edited this page Jul 27, 2013 · 3 revisions

Reset entire directory tree to a committed state:

git checkout commit/branch/other_ref_spec
git clean -xdf  # NOTE: this removes all untracked files and directories!
git submodule update
git submodule foreach git clean -xdf