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.
我遇到了这个 git 配置,看到它可以帮助我减少递归,并且我能够只解决一次合并冲突,并且只要此类冲突再次出现,它就会自动解决。但是现在我不想再次自动解决这个冲突,如何从我的 git 全局设置中删除这个配置设置。
此命令在您的用户配置中禁用 ReReRe(即在您的所有存储库中):
git config --global rerere.enabled false
你可以在一个 repo 中省略--global这样做。
--global
您也可以只为一个命令设置它,如下所示:
git -c rerere.enabled=false merge ...