Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Documentation: How to fix "invalid path" git errors on windows. #793

Closed
jmhorjus opened this issue Feb 17, 2016 · 7 comments
Closed

Documentation: How to fix "invalid path" git errors on windows. #793

jmhorjus opened this issue Feb 17, 2016 · 7 comments
Labels
documentation Something is missing or incorrect in the game documentation
Milestone

Comments

@jmhorjus
Copy link
Contributor

On Windows certain files with "~" in the file name may be spontaneously deleted by git with a "error: Invalid Path" message when pulling or merging.
The solution is to set "git config core.protectNTFS false".
Making a note of this in the windows section of the build instructions wiki page would be a good idea.

@endless-sky endless-sky added the documentation Something is missing or incorrect in the game documentation label Feb 21, 2016
@endless-sky
Copy link
Collaborator

Added to the build instructions.

@endless-sky endless-sky added this to the 0.9.0 (done) milestone Apr 2, 2016
@endless-sky
Copy link
Collaborator

Closing this because it's included in 0.9.0, which is now released.

GerHobbelt added a commit to GerHobbelt/print-css-rocks that referenced this issue May 22, 2020
reference material:
- https://brendanforster.com/notes/fixing-invalid-git-paths-on-windows/
- endless-sky/endless-sky#793 ( --> `git config core.protectNTFS false` which was the magic bit to be able to check out anything)
@ccwanggl
Copy link

solve my problem, thanks

@arnaldoperez
Copy link

Solve my problems, I was migrating a repo from Win7 to Win10 and this was the only thing that worked for me

@ahmad753
Copy link

ahmad753 commented Dec 8, 2020

Thank you

@a0x0
Copy link

a0x0 commented May 29, 2021

Four lines of Text, one line of code, solved my problem immediatley. Thank you so much

@KomalVerma09
Copy link

error: invalid path 'Icon?'
Updating bd7512d..5760200
please solve this error

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
documentation Something is missing or incorrect in the game documentation
Projects
None yet
Development

No branches or pull requests

6 participants