wslgit
wslgit copied to clipboard
Interactive Rebase/Commit Squashing not working inside Fork
I'm getting the following error whilst trying an interactive rebase/Squashing:
/mnt/c/Users/Name Surname/Downloads/wslgit/wslgit/bin/Fork.RI: 1: /mnt/c/Users/Name: not found
error: There was a problem with the editor '/mnt/c/Users/Name Surname/Downloads/wslgit/wslgit/bin/Fork.RI'.
Every other actions are working fine.
I suspect there's a problem with the space in the path.
The problem is the space in your path. "Name Surname" causes this issue. Move your wslgit to a folder that doesn't have any spaces.
In addition to the space in the file path for wslgit itself, I also found that if you have spaces in the path for your Fork (Fork.exe) installation -- it will also cause issues.
My solution was to create a new Windows user that doesn't have any spaces and then reinstall all my apps in that profile.