github / github/app

Support empty and non-Git folders in WSL, like host folders

Open
#3,756 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
No language data
Stars
2.1k
Forks
157
PR merge metrics
No merged PRs in 30d

Description

Feature summary

Allow adding empty or non-Git folders from WSL, matching the folder-based workflow available on the host.

What problem are you trying to solve?

Adding a WSL folder currently requires a Git repository. This prevents starting work in an empty WSL directory or using an existing folder that is not version-controlled, even though the equivalent host folder workflow does not require Git.

Proposed solution
  • Allow adding a folder inside a WSL distribution even when it is empty or not a Git repository.
  • Support a folder-backed WSL project/session, just like a host folder.
  • Do not require cloning a repository or running git init to add the folder.
  • Preserve the existing behavior for WSL Git repositories.
Workflow impact

Enables scratch work, initial project setup, and non-Git tasks directly in WSL without an unnecessary repository setup step.

Installation context

Windows with WSL.

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by comparing the existing host folder workflow with the WSL folder-add path. Verify behavior for an empty WSL folder and a non-Git WSL folder, while confirming that WSL Git repositories retain their current behavior; done means both folder types can be added without cloning or running git init.

Written by the indexing model from the issue text.

Assessment

Domain
desktop, operating-systems
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Active
Clarity
Mostly clear
Newbie friendliness
55/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.