MAC OS crontab 执行git提交报错无权限
.sh 文件可以在命令行直接提交。但是配置 crontab 自动化脚本后执行报错:
git@gitee.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
.sh 文件可以在命令行直接提交。但是配置 crontab 自动化脚本后执行报错:
git@gitee.com: Permission denied (publickey).
fatal: Could not read from remote repository.
Please make sure you have the correct access rights
and the repository exists.
3 回答3.9k 阅读✓ 已解决
5 回答2.8k 阅读
3 回答2.6k 阅读
2 回答1.5k 阅读✓ 已解决
2 回答1.3k 阅读✓ 已解决
3 回答963 阅读
1 回答1.3k 阅读
我记得应该生产一个公钥 key,发送给 git 上。