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.
5 回答3.1k 阅读
3 回答2.8k 阅读
2 回答698 阅读✓ 已解决
1 回答648 阅读
1.2k 阅读
2 回答637 阅读
1 回答765 阅读
我记得应该生产一个公钥 key,发送给 git 上。