Skip to content

WSL & Worktree issue : Not a git repositiory #1789

@OdysseusOperator

Description

@OdysseusOperator

Git is set up, just like this: https://learn.microsoft.com/en-us/windows/wsl/tutorials/wsl-git

I am using WSL Ubuntu 24.04.
Windows and Linux both have Git in Version 2.47.1
This error doesn't appear on Windows, just from WSL.


Steps to reproduce: (Works with all repos i think)
Open Wsl.
make a dir to work in and cd into it.
git clone https://github.com/routerdieb/java11TxtTimebox main
cd main
git worktree add ../test123
cd ..
cd test123
git pull (or git push doesnt matter here)

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions