Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我根据 SO 条目设置我的编辑器:如何使用 msysgit / gitk 设置 DiffMerge?.
我想知道如何撤消此操作,因为我想切换回默认编辑程序。
取决于你如何运行 git config ...
git config --unset core.editor
或者
git config --global --unset core.editor