Vinzent03 / obsidian-git

Integrate Git version control with automatic backup and other advanced features in Obsidian.md
MIT License
6.67k stars 281 forks source link

UnsafeFilenameError when using a folder name with dots #783

Open expected-ingot opened 1 day ago

expected-ingot commented 1 day ago

That probably isn't the name of the error but I don't remember the correct one. When creating a folder with dots in the name, going to Git and attempting to push (or letting the plugin auto-push), each subsequent action will result in this error, even after you delete or rename the folder. The only solution afterwards is to delete the repository through the plugin and reclone it. In my case, I created a folder named "Freaky..", where I moved in 2 files named "stuff.md" and "stuff2.md", attempted to commit it, and then saw the error, renamed the folder to just "Freaky", and attempted to commit again. This resulted in the error. Please somehow fix this, or make folder names with invalid characters auto-rename to underscores.

Android