oleeskild / obsidian-digital-garden

MIT License
1.43k stars 130 forks source link

git checkout on Windows fails #484

Open mii-key opened 1 year ago

mii-key commented 1 year ago

Hi, thank you for the plugin!

Could you please fix filename(s) so it would be possible to make git checkout on Windows?

Thank you!

Cloning into 'obsidian-digital-garden'...
remote: Enumerating objects: 2180, done.
remote: Counting objects: 100% (937/937), done.
remote: Compressing objects: 100% (339/339), done.
remote: Total 2180 (delta 713), reused 697 (delta 598), pack-reused 1243
Receiving objects: 100% (2180/2180), 4.14 MiB | 4.14 MiB/s, done.
Resolving deltas: 100% (1417/1417), done.
error: invalid path 'src/dg-testVault/Path Rewriting/Subfolder/How deep do the rewrite rules go?.md'
fatal: unable to checkout working tree
warning: Clone succeeded, but checkout failed.
You can inspect what was checked out with 'git status'
and retry with 'git restore --source=HEAD :/'
dayne commented 1 year ago

This is a limitation of the NTFS filesystem not allowing a ? character in filenames. Which is a reasonable limitation. PR created.