Pull handover branch code and error found git error: invalid path xxx
or error: unable to create file
-
git status
Look at the code that needs to be processedgit reset
–hard To a previous stable versiongit clean
-df Clear uncommitted files
The file that caused the error was found in the git history
error: unable to create file keycloak-10.0.2/F:\workspace\electric\sedt-webfront\keycloak-10.0.2\standalone\log\server.log: Invalid argument
- Who submits the file and who deletes the file
git pull
Re-pull the file
Reason: There is a difference between the file path created by Mac and Windows, which causes the file path created cannot be generated in Windows. Delete the file to solve the problem
Read More:
- Git xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcru
- [Solved] MacOS terminal Run git command Error: xcrun: error: invalid active developer path
- How to Fix Error Cannot find command ‘git‘ – do you have ‘git‘ installed and in your PATH?
- [Solved] Git error: inflate: data stream error (invalid block type) error: corrupt loose object
- Git pull and Git pull origin master Warning: Pulling without specifying how to reconcile divergent branches
- Springboot configuration project access path URL root path
- [Solved] fatal: not in a git directory Error: Command failed with exit 128: git
- [Solved] Appium Error: InvalidArgumentException: Message: invalid argument: invalid locator
- [Solved] SyntaxError: Invalid regular expression: invalid group specifier name
- Git Error: refusing to merge unrelated histories [How to Solve]
- vscode git error: would clobber existing tag [How to Solve]
- Git pull code error fatal: authentication failed fo
- Git Pull error: Your local changes to the following files would be overwritten by merge:
- git error: The following untracked working tree files would be overwritten by checkout
- Log jar package conflict error: Class path contains multiple SLF4J bindings
- How to Solve Error: cannot open .Git/fetch_HEAD: Permission denied
- [Solved] Git Error: fatal: refusing to merge unrelated histories
- Error creating bean with name ‘redistemplate’ defined in class path resource
- [Solved] git Error: error: Your local changes to the following files would be overwritten by merge