当要push代码到git时,出现提示:
error:failed to push some refs to ...
Dealing with “non-fast-forward” errorsFrom time to time you may encounter this error while pushing:
解决方案:
git config branch.dev.remote origin
git config branch.dev.merge refs/heads/dev