Update switch_all_submodules_to_head_and_clean

+ add cleaning of potential temporary branches from remote server

Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
(cherry picked from commit a04af55867)
v3.5.13-sru
Slávek Banko 7 years ago
parent 9e77d9c754
commit 7bfde00c31

@ -72,6 +72,7 @@ updateModule() {
git reset --hard HEAD
git clean -dxff
fi
git remote prune origin
if [[ -e $PARENTDIR/$MODULE.gitmodules ]]; then
if [[ $gituser == "anonymous" ]]; then

Loading…
Cancel
Save