mirror of
https://github.com/sunnypilot/sunnypilot.git
synced 2026-04-06 16:53:58 +08:00
op switch: sync submodules (#37618)
This commit is contained in:
committed by
GitHub
parent
76458d175f
commit
1dbae159a8
@@ -405,6 +405,7 @@ function op_switch() {
|
||||
git submodule deinit --all --force
|
||||
git reset --hard "${REMOTE}/${BRANCH}"
|
||||
git clean -df
|
||||
git submodule sync --recursive
|
||||
git submodule update --init --recursive
|
||||
git submodule foreach git reset --hard
|
||||
git submodule foreach git clean -df
|
||||
|
||||
Reference in New Issue
Block a user