A branch from A switch to another branch B, to pull switch B branch after the operation, because of the pull actually contains the fetch + the merge operation, when performing the merge operation, due to long time no out the pull of B branch/merge operation, the local treasuries and remote B B difference is very big in the subsidiary (and these differences is the development of other colleagues files), when the merge conflict, causing the B branch state for merging, actually refers to the failed to merge, Stuck in the merge state, and unable to perform pull operations. Instead of resolving the conflict, instead of executing checkout/switchto from the B branch and attempting to switchto another branch, the report is:
[plain] view plaincopy in CODE looks at the CODE slice that is descended to my CODE slice
[plain] view plaincopy in CODE looks at the CODE slice that is descended to my CODE slice
… Java: needs merge
…… Java: needs merge
…… Java: needs merge
error: you need to resolve your current index first
>, googled for a long time, finally found the answer on stackoverflow, the question is: merge failed, due to conflicts, can:
1, execute merge again after conflicts;
2, back to merge
well, since the merge conflict is a colleague’s file, I don’t need to resolve conflicts, then back to merge, just change my file and push, run the following code:
git reset –merge
done!
by the way, could you stick the stackoverflow links:
http://stackoverflow.com/questions/6006737/git-merge-errors span>
Read More:
- error:you need to resolve your current index first
- Electra Cydia impactor jailbreak error resolution: provision cpp:81 You already have a current iOS Development certificate
- Python common error: if using all scalar values, you must pass an index (four solutions)
- Index error: invalid index to scalar variable
- Error: unable to resolve dependency for… Could not resolve project
- On set in pandas_ Index and reset_ Usage of index
- Git push you are not allowed to upload merges
- ./src/router/index.js Module not found: Error: Can‘t resolve ‘@/views/tet_demo‘ in ‘D:\admin\src\rou
- [Solved] Es delete all the data in the index without deleting the index structure, including curl deletion
- Please specify which branch you want to merge with
- Error occurred when sourcetree switches from all branches to current branch
- If you open the store in iTunes, you will be prompted to solve the 310 error
- Pull is not possible because you have unmerged files. Please, fix them up in the work tree, and then
- Error: You have not concluded your merge (MERGE_HEAD exists)
- Merging is not possible because you have unmerged files
- nbconvert failed: xelatex not found on PATH, if you have not installed xelatex you may need to do so
- Pull is not possible because you have unmerged files
- Failed to resolve: failed to resolve
- Git pull error: pull is not possible because you have unmerged files
- PostgreSQL sets the default value of the field to the current year