Created
May 5, 2020 22:56
-
-
Save Zorono/53292e67123c9a7d6db3e770c17334b0 to your computer and use it in GitHub Desktop.
simple fix for Git Checkout `invalid path` error on Windows
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set "repo=https://github.com/Zorono/TestRepo.git" | |
git clone %repo% | |
git config core.protectNTFS false | |
git config hooks.enforcecompatiblefilenames false | |
git restore --source=HEAD :/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment