#!/bin/bash

# Verify that we are in the super-repo
[ -d CanAM ] ||  { echo "ERROR: You MUST be in the CanESM super-repo" ; exit 1 ; }

# First recurse every submodule from the bottom up.
# This makes sure that when modifying a "lower" submodule
# the "higher" one knows about it, including the super-repo.
git sfed "git add -A"
# Repeat in super-repo
git add -A

