14 lines
198 B
Bash
14 lines
198 B
Bash
|
#!/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
|
||
|
|