Created
August 10, 2023 20:53
-
-
Save selfagency/aeca6eb419d8791a39524aa57c670670 to your computer and use it in GitHub Desktop.
[wsl -> windows git]
This file contains hidden or 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
# This can be due to security features built into newer Git versions, which prevent WSL paths from being accessed by Git. | |
#There is a workaround, though: disabling the check for a specific directory or all: | |
git config --global --add safe.directory '%(prefix)///wsl.localhost/ | |
git config --global --add safe.directory '*' | |
# After applying this you should be able to add the repo to Tower. | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment