![](/img/trans.png)
[英]git submodules - error: could not lock config file .git/modules/path/to/vimlib/config: No such file or directory
[英]error: could not lock config file .git/config: No such file or directory
显示以下错误:
heroku git:remote -a intense-journey-57915 Error: Command failed: git remote add heroku https://git.heroku.com/intense-journey-57915.git error: could not lock config file.git/config: No such file or directory fatal: could not set 'remote.heroku.url' to ' https://git.heroku.com/intense-journey-57915.git '
其实这确实存在。 系统变量 HOME 设置正确。 在 VS Code 中工作(以管理员身份)。 Windows 10. Git 版本 2.23.0 知道如何解决吗?
其实这确实存在。
确保您位于正确的文件夹中,即在您的本地 Git 存储库中。
输入简单的git config -l
例如:由于 Git 2.8(2018 年 3 月),它会说它是否在 Git 存储库之外执行。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.