Skip to content

Instantly share code, notes, and snippets.

@mingtheanlay
mingtheanlay / import-github-label.md
Last active July 21, 2023 09:01
Script to import labels to Github issue page
@carlolars
carlolars / .wsl-git.md
Last active August 1, 2025 16:35
HOWTO: Use WSL and its Git in a mixed development environment

How to setup a development environment where Git from WSL integrates with native Windows applications, using the Windows home folder as the WSL home and using Git from WSL for all tools.

Note if using Git for Windows, or any tool on the Windows side that does not use Git from WSL then there will likely be problems with file permissions if using those files from inside WSL.

Tools

These are the tools I use:

  • git (wsl) - Command line git from within WSL.
  • Fork (windows) - Git GUI (must be used with wslgit)
  • wslgit - Makes git from WSL available for Windows applications. Important! Follow the installation instructions and do (at least) the first optional step and then the Usage in Fork instructions.