@cyberdee Hi the steps are easy.Do the following:
Step 1. Locate your .git/config file then edit this line from
[remote “upstream”]
fetch = +refs/heads/master:refs/remotes/upstream/master
to become:
[remote "upstream"]
fetch = +refs/heads/*:refs/remotes/upstream/*
Step 2. Also locate this config file : /frappe-bench/apps/erpnext/.git/config then edit the following line to be as follows
[remote "upstream"]
url = https://github.com/frappe/erpnext
fetch = +refs/heads/*:refs/remotes/upstream/*
Step 3: then run this command as non root user, preferably frappe user on this directory (…/frappe-bench):
bench switch-to-branch version-12 frappe erpnext --upgrade
Step 4: run this command (But not necessary):
bench update --patch