- Create file
git-wsl.bat
(contect can be found below) - Go to JetBrains IDE (InteliJ, PyCharm, PHPStorm, ...)
- Go to File -> Settings -> Vesion Control -> GIT
- Set path to the
git-wsl.bat
file (created in a step above) - Click
Test
to check the functionality - Done 🎉
Last active
July 23, 2020 09:31
-
-
Save DzeryCZ/83af145ba0643640088ed747ab987bb4 to your computer and use it in GitHub Desktop.
WSL Git under JetBrans IDEs
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
@echo off | |
setlocal enabledelayedexpansion | |
set command=%* | |
echo | bash.exe -c "git %command%" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment