如果你的Obsidian文檔在Linux與Windows間來回切換,可能會涉及到文件的保存換行符問題,但這樣的話就容易導致一個問題,那就是內容無差異,Obsidian卻提示unexplained changes,Windows系統下的解決方法如下,找到.git/config
文件,配置
[core]bare = falseautocrlf = falsetrustctime = false
一、參考文章或視頻鏈接 |
---|
[1] Workaround for: Rendering markdown files on Windows results in timestamp changes (Detected by Git) - Obsidian |
[2] Viewing a file with different line endings causes file to save with new line endings |