吾就安装个软件,竟然报这个错误:

error: could not lock config file .git/config: Permission denied
Error: Command failed with exit 255: git
  • 解决办法
sudo chgrp -R admin /usr/local
sudo chmod -R g+w   /usr/local

执行时会报目录没权限,不必理会。

error: could not lock config file .git/config: Permission denied/Command failed with exit 255相关推荐

  1. Mac-安装Homebrew报错error: could not lock config file .git/config:

    Mac-安装Homebrew报错error: could not lock config file .git/config:

  2. Mac-brew报错error: could not lock config file .git/config: Permission denied

    执行: sudo chgrp -R admin /usr/local sudo chmod -R g+w /usr/local 接着:brew 就行了

  3. fatal: not in a git directory Error: Command failed with exit 128: git

    arch -arm64 brew install cocoapods 报错 fatal: not in a git directory Error: Command failed with exit ...

  4. git:error: open(“.vs/xxb/v17/Browse.VC.opendb“): Permission denied

    在写完代码后,上传至远程仓库,输入了git add .遇到了以下问题. $ git add . error: open(".vs/xxb/v17/Browse.VC.opendb" ...

  5. Vue3运行源码-调试报错:Command failed with exit code 128: git rev-parse HEAD

    Vue3运行源码-调试报错:Command failed with exit code 128: git rev-parse HEAD 下载源码 运行源码 运行源码报错 成功运行 下载源码 官网下载源 ...

  6. Mac安装 git-lfs 出现 Command failed with exit 128: git

    fatal: not in a git directory Error: Command failed with exit 128: git 在 brew install git-lfs 的时候,出现 ...

  7. open output file xxx exe Permission denied

    分享一下我老师大神的人工智能教程!零基础,通俗易懂!http://blog.csdn.net/jiangjunshow 也欢迎大家转载本篇文章.分享知识,造福人民,实现我们中华民族伟大复兴! 开发环境 ...

  8. Error: cmd: Command failed with exit code ENOENT

    在Webstorm中执行命令: cordova build android 时的提示: Error: cmd: Command failed with exit code ENOENT 在网上搜索后: ...

  9. 使用SVN clang: error: linker command failed with exit code 1 (use -v to see invocation)

    2019独角兽企业重金招聘Python工程师标准>>> 再把项目上传到SVN仓库上,然后再拉到本地编译时出现如下错误 ld: library not found for -lxxxx ...

  10. [Git]解决Permission denied, please try again问题

    [Git]解决Permission denied, please try again问题 参考文章: (1)[Git]解决Permission denied, please try again问题 ( ...

最新文章

  1. python之蓝图blueprint浅析
  2. 【Python】调用百度云API人脸检测 Face Detect
  3. 澳洲 计算机 本科学费,澳大利亚墨尔本大学一年学费和生活费清单
  4. 2.3微秒的特征点匹配
  5. C/C++:Windows编程—代码获取本地所有网卡信息(网卡描述,IP地址,子网掩码,MAC地址)
  6. Win11正式版版号 Win11正式版最新版本号介绍
  7. ASP.NET FormsAuthentication跨站点登录时绝对地址返回的问题
  8. tomcat6.0启动报错
  9. 如何从一个USB上安装Windows Vista
  10. 最齐全的射灯ies光域网素材,速来收藏
  11. 第十部分 项目风险管理
  12. Linux操作系统基础知识命令参数详解
  13. 《大明王朝》阴谋诡计,下三路招呼
  14. Selenium自动化测试框架基础操作
  15. 解决——使用驱动器X:中的光盘之前需要将其格式化问题
  16. 贵州大学计算机类是211吗,贵州大学排名,唯一一所211排名一百以后,本科一批只有两所...
  17. 主流微服务配置中心对比 config,nacso和Apollo对比
  18. idea 报错Output directory is not specified错误
  19. SELECT连表查询重复字段
  20. HackTheBox-baby breaking grad

热门文章

  1. adlicensegen怎么生成许可_国家排污许可证申请系统常见问题及解决办法
  2. 机器学习框架_机器学习中的概率框架
  3. python的类变量和成员变量用法_python中类变量和成员变量、局部变量总结
  4. layui 下拉框多选数据_智慧职教mooc2020大数据基础课后答案
  5. mysql的索引和触发器_MYSQL数据库学习----索引和触发器
  6. jquery noConflict() 兼容其他框架同时用$
  7. 【爬虫】编码问题总结
  8. 请求头User-Agent作用?
  9. 远程连接ubuntu的MongoDB遇到的坑
  10. 【ASP.NET 基础】ASP.NET 目录操作