Question about editing files then updating using bench update

If you make changes to the code and run bench update you will get a merge conflict. In that case you can stash your existing changes and then run the update.

The following thread should help you: