git 添加对 org-mode 导出的 html 类型的文件的忽略。
编辑 .gitignore, 加入 *.org.html
每一个编辑的 org-mode 的 test.org 文件,加入 EXPORT_FILE_NAME
变量
#+EXPORT_FILE_NAME: test.org.html
这样,文件 test.org 通过C-c C-e
导出成 html 的文件 test.org.html 就不会被 git 加入版本控制了。
git 添加对 org-mode 导出的 html 类型的文件的忽略。
编辑 .gitignore, 加入 *.org.html
每一个编辑的 org-mode 的 test.org 文件,加入 EXPORT_FILE_NAME
变量
#+EXPORT_FILE_NAME: test.org.html
这样,文件 test.org 通过C-c C-e
导出成 html 的文件 test.org.html 就不会被 git 加入版本控制了。