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