Skip to content

Instantly share code, notes, and snippets.

@zzzz465
Created August 16, 2021 02:13
Show Gist options
  • Save zzzz465/6dab38e9cb6771d22f9dda46211a3e88 to your computer and use it in GitHub Desktop.
Save zzzz465/6dab38e9cb6771d22f9dda46211a3e88 to your computer and use it in GitHub Desktop.
use gitkraken with WSL2 on windows

add bash.bat script to anywhere you want, and add it as sh script in gitkraken's preferences.

@REM made by madeline. MIT License
@echo off
wsl.exe -e bash -c "$(wslpath %2)"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment