基本上,我输入了:
git config --global use.name "My name"请注意,我写的是"use.name“而不是”user.name“。但是现在这个字段已经存在了,所以我想知道如何删除它。
发布于 2016-02-04 13:43:10
发布于 2021-08-18 06:18:35
git config --global --unset use.name或者您可以通过--edit编辑配置
git config --global --edit发布于 2016-02-04 13:43:37
通过以下方式删除部分
git config --global --remove-section use然后
git config --global user.name "Your Name"https://stackoverflow.com/questions/35193217
复制相似问题