diff --git a/bin/update-rusefi.sh b/bin/update-rusefi.sh new file mode 100755 index 0000000..37c9b1b --- /dev/null +++ b/bin/update-rusefi.sh @@ -0,0 +1,12 @@ +#!/usr/bin/env bash +# +# problem: we are changing files right inside submodule folders (which is probably against git intentions?) +# this script helps us clean state and overall work around the currently convoluted submodule structure +# +cd ext/rusefi/ +git reset --hard +cd ../.. +git submodule update --init +cd ext/rusefi/ +git submodule update --init +git status