报错记录
圈里一个C
强伟亮
展开
-
Please make sure you have the correct access rights and the repository exists.
git 无权限或仓库不存在 原因:一般是公钥出了问题 尝试解决办法:重新配置一下公钥 1. 配置用户名和邮箱 git config --global user.name “用户名” git config --global user.email ”邮箱地址“ 2. 删除 .ssh 文件夹(若存在该文件夹) 3. 重新创建公钥 命令行输入: ssh-keygen -t rsa -C "刚刚填的邮箱地址" 出现: Generating public/private rsa key pair. Enter fi原创 2021-07-06 10:10:29 · 125 阅读 · 0 评论 -
报错Error: homebrew-core is a shallow clone.
Error: homebrew-core is a shallow clone解决: 先删除再重新安装 解决: 先删除再重新安装 // 进入目录 $ cd /usr/local/Homebrew/Library/Taps/home-brew // 删除对应的文件 $ rm -rf homebrew-core // 重新clone $ git clone https://github.com.cnpmjs.org/Homebrew/homebrew-core.git /usr/local/Homebrew原创 2021-03-25 11:22:10 · 472 阅读 · 2 评论