Error while updating ERPnext, local changes in app "hrms"

Hi, Everyone

I’m facing a issue while updating my ErpNext. It says

Cannot proceed with update: You have local changes in app “hrms” that are not committed.

Please help, Thank You

If you don’t want to commit the changes, apply the command:

bench update --reset

but first take a backup.

1 Like

but why i need to run this command every-time whenever i try to run the Bench Update

You can go into the hrms app directory and give git stash before updating. Of course this will reset any file changes you made to the core app files.

This probably occurs when you make any changes to the files in the app locally. The new updates will cause a merge conflict and thus the above error.

Don’t make changes in the core apps unless you’re trying to contribute with a git push?

Thanks for the explanation.