Question reappearance:
Pull is not possible because you have unmerged files.
Please, fix them up in the work tree, and then use ‘git add/rm < file> ‘
as appropriate to mark resolution, or use ‘git commit -a’.
Reasons:
In the process of [Git pull], if there are conflicting files, all other files except the conflicting files are saved as antinuclear zone files.
Local push and merge form references such as merge-head and pushhead.
– HEAD represents a local reference formed after a recent successful push;
The -merge-head represents the reference formed after a successful pull.
Solutions:
You can MERGE-HEAD or HEAD to achieve the effect of type and SVN Revet.
1. Open Git console:
Right click on the project –& GT; 【Open in Terminal】 –& GT; Use the Git command console.
2. Input: Git reset –hard FETCH_HEAD
– To reset conflicting local files, not only to merge-head or HEAD, but also -hard;
– No later hard, no local workspace will be flushed. It just overwhelms the stage.
3. Input: Git pull
Resubmission will succeed.
For more highlights, please follow my “toutiao” : Java cloud notes
, anytime, anywhere, to give you the latest, most convenient handheld cloud services
Pull is not possible because you have unmerged files.
Please, fix them up in the work tree, and then use ‘git add/rm < file> ‘
as appropriate to mark resolution, or use ‘git commit -a’.
Reasons:
In the process of [Git pull], if there are conflicting files, all other files except the conflicting files are saved as antinuclear zone files.
Local push and merge form references such as merge-head and pushhead.
– HEAD represents a local reference formed after a recent successful push;
The -merge-head represents the reference formed after a successful pull.
Solutions:
You can MERGE-HEAD or HEAD to achieve the effect of type and SVN Revet.
1. Open Git console:
Right click on the project –& GT; 【Open in Terminal】 –& GT; Use the Git command console.
2. Input: Git reset –hard FETCH_HEAD
– To reset conflicting local files, not only to merge-head or HEAD, but also -hard;
– No later hard, no local workspace will be flushed. It just overwhelms the stage.
3. Input: Git pull
Resubmission will succeed.
For more highlights, please follow my “toutiao” : Java cloud notes
, anytime, anywhere, to give you the latest, most convenient handheld cloud services
Read More:
- Git pull error: pull is not possible because you have unmerged files
- Pull is not possible because you have unmerged files. Please, fix them up in the work tree, and then
- Merging is not possible because you have unmerged files
- Committing is not possible because you have unmerged files
- Git solves pull origin error: the following untracked working tree files would be rewritten by merge
- Git pull undo misoperation
- Error: You have not concluded your merge (MERGE_HEAD exists)
- [Git] git pull pull remote git push to remote git commit submit reject
- You have not concluded your merge (MERGE_HEAD exists)
- nbconvert failed: xelatex not found on PATH, if you have not installed xelatex you may need to do so
- Failed to install ISKernel Files,make sure you have appropriate privileges on this machine
- MSDN I tell you new site next I tell you open invitation code registration! Today’s quota is 5000!
- Solutions to the problem that Ubuntu is stuck when copying large files and can’t mount mobile hard disk normally
- Mac Upgrade pip WARNING: You are using pip version 21.1.1; however, version 21.1.3 is available. You s
- Git Pull Failed solution
- Git push you are not allowed to upload merges
- pathspec ‘master’ did not match any files known to git
- Using curl to generate gnutls_ Handshake() failed: error in the pull function or gnutls recv error: error in the pull function
- U disk installation Linux system could not boot, / dev / root does not exist and the identified hard disk space is not available
- You are not allowed to upload merges in Git push