how can i update and restore all my changes?
Can someone help me to solve this issue?
Follow the instructions or run
git reset --hard and try to update again
But i don’t want to lose my changes in app.
Is there a way of not losing it?
In that case stash your changes as instructed in the terminal. After the changes,
git stash pop.
Why not create your own branch for customisations?
What did you mean by creating my own branch for customization?
thanks for your support @tundebabzy
The best practice for customizing Erpnext is to put all your customization in an app by taking advantage of hooks, this way updating Erpnext won’t affect your changes.
- cd /home/frappe/frappe-bench/apps/frappe
- git stash
- cd /home/frappe/frappe-bench
- bench update
But if your App was including changing .py and .js under frappe and erpnext than you have to pause and read this Frappe Framework Tutorial
I added fields in the doctype and i added in the dashboard of the customer doctype.
Do you know how can i backup and update?
Thanks for your help.