尝试设置全局配置时出现此错误:
$ git config --global user.name "Your Name Here" error: could not lock config file /pathto/file/.gitconfig: No such file or directory
并且文件 .gitconfig 已经存在,有人有任何想法吗??
git 12.10
12.10 ×1
git ×1