Ive reinstalled my PC (Windows) and now the following functionality that worked completely fine doesnt anymore:
e.g. Deleting a branch with the gitlens plugin:
- have a local git branch in the currently active repository
- navigate to "Branches" tab of gitlens (under "source control")
- right click onthe branch -> "Delete Branch..." -> Delete Branch
- PROBLEM: the path to the git executable is done via single backslashes which windows cant handle:
myusername@mypc MINGW64 /c/projects/project (another_branch)
$ C:\Users\myusername\AppData\Local\Programs\Git\cmd\git.exe -C "c:/projects/project" -c "core.editor=code --wait --reuse-window" branch --delete "branch-i-want-to-delete"
bash: C:UsersmyusernameAppDataLocalProgramsGitcmdgit.exe: command not found