Git Error -- Pull Production Failed Failed: Checkout conflict with files

Knowledge Drop

Last tested: May 20, 2019
 

This error occurs when we try to pull from production while uncommitted changes are in the local dev branch. As a result, git rejects the pull request altogether. Committing changes, then pulling from production will surface the merge conflict.

The same applies when we try to pull from remote with uncommitted changes in the local dev branch.

If you don't care about losing the changes: Commit changes --> Merge Conflict --> Select Revert to Production

This content is subject to limited support.                

Version history
Last update:
‎05-07-2021 09:03 AM
Updated by: