Browse Source

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>
pull/1/head
Slávek Banko 4 years ago
parent
commit
a04af55867
  1. 1
      switch_all_submodules_to_head_and_clean

1
switch_all_submodules_to_head_and_clean

@ -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