The following error occurred when using git pull command today
The result is the above error prompt, translated by Youdao dictionary software, the content is (error: your local changes to the following files will be merged and covered)
Using git log — oneline to check the log, you didn’t get the code. You checked a lot of information and other big men’s blogs on the Internet
The following git instruction method is used It means to abandon local modification and directly override
1 git reset --hard
2 git pull
Read More:
- error: The following untracked working tree files would be overwritten by merge
- Error: your local changes to the following files would be rewritten by merge solution
- Git solves pull origin error: the following untracked working tree files would be rewritten by merge
- The local network card cannot be obtained by opening Wireshark
- Error: You have not concluded your merge (MERGE_HEAD exists)
- You have not concluded your merge (MERGE_HEAD exists)
- Android:Field can be converted to a local varible.
- Solution to the incomplete display of big data files printed by pychar
- Hzero – if the local swagger fails to register, the connection timeout or gateway error will be displayed
- To solve problems in cmake VTK: error configuration process, project files may be invalid
- Fatal: reusing to merge unrelated histories
- Please specify which branch you want to merge with
- To solve the problem in Windows opencv installation: error configuration process, project files may be invalid
- Error messages of copying files to Linux system by PSCP in Windows operating system
- Resolving fatal: reusing to merge unrelated histories in Git
- Problems in compiling VTK with cmake: solutions to error configuration process, project files may be invalid
- fatal: refusing to merge unrelated histories
- About solving the problem that vscode files cannot be edited
- Local workspace file (‘angular.json’) could not be found.
- Error 945 Database cannot be opened due to inaccessible files or insufficient memory or disk space