Skip to content
Snippets Groups Projects
Verified Commit 2216da1a authored by Tobias Frisch's avatar Tobias Frisch
Browse files

Add script to ease workflow with submodules

parent 93e8854b
No related branches found
No related tags found
No related merge requests found
#!/bin/sh
if [ "$1" = "init" ]; then
git submodule init
git submodule update
elif [ "$1" = "reset" ]; then
git submodule deinit -f .
git submodule update --init
elif [ "$1" = "update" ]; then
git submodule foreach git pull
fi
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment