Linux与Windows切换使用Obsidian,出现 unexplained changes 问题的解决

如果你的Obsidian文档在Linux与Windows间来回切换,可能会涉及到文件的保存换行符问题,但这样的话就容易导致一个问题,那就是内容无差异,Obsidian却提示unexplained changes,Windows系统下的解决方法如下,找到.git/config文件,配置

[core]
        bare = false
        autocrlf = false
        trustctime = 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

你可能感兴趣的:(业务能力技术栈,git)