取消全局配置的方法:1、在终端执行“git config –global –unset user.name”命令取消指定的全局配置项;2、利用“git config –global –edit”语句编辑指定配置文件来取消全局配置。
本文操作环境:Windows10系统、Git2.30.0版、Dell G3电脑。
git怎样取消全局配置
1.查看Git所有配置
git config –pst
2.删除全局配置项
(1)终端执行命令:
git config –global –unset user.name
(2)编辑配置文件:
git config –global –edit
以上就是git怎样取消全局配置的详细内容,更多请关注24小时课堂在线其它相关文章!