damocles-mods/update.sh

14 lines
198 B
Bash
Executable File

#!/bin/sh
# update meta repo
git pull
# sync repo urls
git submodule sync
# initialize new repos
git submodule init
# update commits
git submodule update
# remove unversioned files
git clean -dff