go to the erpnext app folder, run this command:
git config remote.upstream.fetch "+refs/heads/*:refs/remotes/upstream/*"
and then run bench switch-to-version 12 from frappe-bench folder.
Reference:
go to the erpnext app folder, run this command:
git config remote.upstream.fetch "+refs/heads/*:refs/remotes/upstream/*"
and then run bench switch-to-version 12 from frappe-bench folder.
Reference: