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
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?
I’ll recommend that you learn git. Try Set up Git - GitHub Docs or https://git-scm.com/docs/gittutorial
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.
Hi @Elie
Did you create a customize App or did you change the Code under Frappe/Erpnext?? If you create your own app as @tundebabzy mention than you have to do this:
- 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
Hi @sione
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.
Hi @tundebabzy @ganas .
I learn git but it didn’t help me.
I modified in the doctype and in the dashboard.
any help?