相关疑难解决方法(0)

无法使用我的GitHub帐户错误设置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

54
推荐指数
7
解决办法
9万
查看次数

标签 统计

git ×1