From a2610d4e320f8a51ee54d4c1644c3fb28a1ad8bf Mon Sep 17 00:00:00 2001 From: Timothy Pearson Date: Mon, 7 Nov 2011 01:10:15 -0600 Subject: Update the GIT helper scripts --- switch_all_submodules_to_head_and_clean | 3 +++ 1 file changed, 3 insertions(+) (limited to 'switch_all_submodules_to_head_and_clean') 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 @@ -23,6 +23,9 @@ if [[ ! -e "$THISSCRIPT" ]]; then exit 1 fi +git reset --hard HEAD +git clean -dxf +git pull git reset --hard HEAD git clean -dxf -- cgit v1.2.1