summaryrefslogtreecommitdiffstats
path: root/switch_all_submodules_to_head_and_clean
diff options
context:
space:
mode:
Diffstat (limited to 'switch_all_submodules_to_head_and_clean')
-rwxr-xr-xswitch_all_submodules_to_head_and_clean3
1 files changed, 3 insertions, 0 deletions
diff --git a/switch_all_submodules_to_head_and_clean b/switch_all_submodules_to_head_and_clean
index 5b409b8..c395e62 100755
--- a/switch_all_submodules_to_head_and_clean
+++ b/switch_all_submodules_to_head_and_clean
@@ -25,6 +25,9 @@ fi
git reset --hard HEAD
git clean -dxf
+git pull
+git reset --hard HEAD
+git clean -dxf
if [[ -e .gitmodules ]]; then
if [[ $gituser == "anonymous" ]]; then