Thursday, 8 November 2018

bench.utils.CommandFailedError: git pull upstream develop

Reason: Pending git commits

==================================================================
Do the following if you haven't made local changes to files in the application:
go to folder /home/frappe/frappe-bench/apps/erpnext
and run the following command:

git reset --hard
git pull
go to folder /home/frappe/frappe-bench/apps/frappe
and run the following command:

git reset --hard
git pull
go to folder /home/frappe/.bench
and run the following command:

git reset --hard
git pull
Finally goto /home/frappe/frappe-bench
and run:

bench update

========================
Go to the directory, either frappe-bench/apps/erpnext or frappe-bench/apps/frappe
Type git status
Check the list of the untracked files. There might be files, which do or don't belong there.
Type git add --all to track those files
Type git stash
Run bench update
It should run successfully, if not, start over with 1. and repeat for the other directory

No comments:

Post a Comment