X-Git-Url: https://gerrit.opnfv.org/gerrit/gitweb?a=blobdiff_plain;f=Makefile;h=9490f5a98693abf3d525562c9f8045b244f5990a;hb=5569b8a7d32b33bdc0bf47d9d8567192605f15b6;hp=7723c720843f36c9a3c0545b53191224a09f9e15;hpb=06a429353c0f41083928499589db288ae3275f2a;p=armband.git diff --git a/Makefile b/Makefile index 7723c720..9490f5a9 100644 --- a/Makefile +++ b/Makefile @@ -11,7 +11,8 @@ submodules-init: # Cleans any changes made to submodules submodules-clean: @git submodule -q foreach \ - 'git checkout -q armband-workbench-root; \ + 'git am --abort; \ + git checkout -q armband-workbench-root; \ git branch -q -D armband-workbench; \ git tag -d armband-workbench-root; \ git reset -q --hard HEAD; git clean -xdff'