小编cod*_*ros的帖子

设置 git 错误时遇到问题:无法锁定配置文件

尝试设置全局配置时出现此错误:

$ git config --global user.name "Your Name Here"
error: could not lock config file /pathto/file/.gitconfig: No such file or directory
Run Code Online (Sandbox Code Playgroud)

并且文件 .gitconfig 已经存在,有人有任何想法吗??

git 12.10

18
推荐指数
2
解决办法
12万
查看次数

标签 统计

12.10 ×1

git ×1