Could be any low level parameter related to Electron or something like to set line ending to CRLF?
This creates issues for Windows users.
Adding to the chorus,
I would also really appreciate a choice for LF vs. CRLF baked into Obsidian. The workaround specified here is functional, but I am trying to make the experience as painless as possible for my colleagues.
1 Like
PARTIAL FIX
Hi everyone, it does not seem to be a native solution, but as an Obsidian Git user, I at least found a way to avoid autocommit of files with auto encoding change.
We will set core.autocrlf to input to enforce the preferable by Obsidian LF standard.
Before you start, be aware, that
The command git reset --hard HEAD will permanently delete any uncommitted changes to files that Git is already tracking.
git config --global core.autocrlf input
git rm --cached -r .
git reset --hard HEAD
This issue already 5 years old. Is it implement yet?