Override local changes with west update
See original GitHub issueHi, is it possible to override local changes when running west update?
For instance these when running west update;
=== updating trusted-firmware-m (modules/tee/tfm):
HEAD is now at c74be389 trusted-firmware-m: platform: lpcxpresso55s69: Update SDK
M trusted-firmware-m/bl2/ext/mcuboot/CMakeLists.txt
M trusted-firmware-m/bl2/ext/mcuboot/bl2_main.c
M trusted-firmware-m/bl2/ext/mcuboot/keys.c
M trusted-firmware-m/bl2/ext/mcuboot/scripts/assemble.py
M trusted-firmware-m/bl2/ext/mcuboot/scripts/wrapper/wrapper.py
M trusted-firmware-m/platform/ext/target/nordic_nrf/nrf5340dk_nrf5340_cpuapp/RTE_Device.h
=== updating mbedtls (modules/crypto/mbedtls):
Best Regards, Nano
Issue Analytics
- State:
- Created a year ago
- Comments:5 (2 by maintainers)
Top Results From Across the Web
How do I force "git pull" to overwrite local files?
Any uncommitted local changes to tracked files will be lost. Any local files that are ... First, update all origin/<branch> refs to latest:...
Read more >Git Pull Force – How to Overwrite Local Changes With Git
When your uncommitted changes are significant to you, there are two options. You can commit them and then perform git pull , or...
Read more >How do I force git pull to overwrite local files?
The reason for error messages like these is rather simple: you have local changes that would be overwritten by the incoming new changes...
Read more >How to force overwrite local changes with 'git pull'
first sync up and fetch all remote repository changes. · backup your current branch - since when we force the pull, all changes...
Read more >Undo possibilities in Git - GitLab Docs
Choose an option and undo your changes: To overwrite local changes: git checkout -- <file>. To save local changes so you can re-use...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Hi, no, west update has no features for throwing away local changes. You can run
git reset --hard HEAD
inmodules/tee/tfm
instead.I have no plans to add those types of features myself, as I tend to work on west when I have a mandate to add a feature that’s blocking me in some way. But the project is open to contributions.