From a04af5586759094483cd1aeece37530a76a2f1d4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sl=C3=A1vek=20Banko?= Date: Mon, 6 Aug 2018 17:23:34 +0200 Subject: Update switch_all_submodules_to_head_and_clean + add cleaning of potential temporary branches from remote server MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Slávek Banko --- switch_all_submodules_to_head_and_clean | 1 + 1 file changed, 1 insertion(+) diff --git a/switch_all_submodules_to_head_and_clean b/switch_all_submodules_to_head_and_clean index 92f715b..b41a392 100755 --- a/switch_all_submodules_to_head_and_clean +++ b/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 -- cgit v1.2.3