[diff "odf"] textconv=odt2txt
像这样:
git config diff.odf.textconv odt2txt
[diff "odf"] textconv = odt2txt
git config global.user.name "My Name"
global.user.name
git config --global user.name
git config global.user.name "My Name"
这个命令不起作用吗? - ArielSDglobal.user.name
的配置变量。您需要使用git config --global user.name
。 - larsks