Sync submodules before update
When submodule URL is changed in .gitmodules, update fails and this error can be easily overseen. Change-Id: Iec55b35356db0b83cf86dea779e4379fff1f8d04
This commit is contained in:
@@ -2,6 +2,7 @@
|
||||
#
|
||||
|
||||
git reset --hard
|
||||
git submodule sync
|
||||
git submodule update --init
|
||||
git status -s | grep "." && ( echo "Contains unknown files" ; exit 1 )
|
||||
|
||||
|
||||
Reference in New Issue
Block a user