Hey, I've noticed this issue while using gitu. I can stage files with whitespace characters in their name without issue, but when I try to unstage them I'm getting this error:
$ git restore --staged plans/2026-06-03 - safeguards plan splitting.md
error: pathspec 'plans/2026-06-03 - safeguards plan splitting.md' did not match any file(s) known to git
! 'git restore --staged plans/2026-06-03 - safeguards plan splitting.md' exited with code: 1
Seems to be a case of missing quotes around the filename. Running this command in the terminal works:
git restore --staged 'plans/2026-06-03 - safeguards plan splitting.md'
Running on macOS 26.5:
❯ gitu --version
gitu 0.42.0
Hope this is helpful.
Thanks for building this awesome tool!
Hey, I've noticed this issue while using
gitu. I can stage files with whitespace characters in their name without issue, but when I try to unstage them I'm getting this error:Seems to be a case of missing quotes around the filename. Running this command in the terminal works:
git restore --staged 'plans/2026-06-03 - safeguards plan splitting.md'Running on macOS 26.5:
Hope this is helpful.
Thanks for building this awesome tool!