git is hard

This commit is contained in:
Andrey 2024-06-05 23:45:29 -04:00
parent 2ed73b7431
commit 085fefabbb
1 changed files with 12 additions and 0 deletions

12
bin/update-rusefi.sh Executable file
View File

@ -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