obsidian-digital-garden icon indicating copy to clipboard operation
obsidian-digital-garden copied to clipboard

git checkout on Windows fails

Open mii-key opened this issue 1 year ago • 1 comments

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 :/'

mii-key avatar Oct 15 '23 20:10 mii-key

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

dayne avatar Oct 15 '23 20:10 dayne