为了账号安全,请及时绑定邮箱和手机立即绑定

MAC OS crontab 执行git提交报错 Permission denied

MAC OS crontab 执行git提交报错 Permission denied

Git
湖上湖 2018-08-18 19:54:17
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 rightsand the repository exists.
查看完整描述

1 回答

?
江户川乱折腾

TA贡献1851条经验 获得超5个赞

我记得应该生产一个公钥 key,发送给 git 上。

查看完整回答
反对 回复 2018-08-19
  • 1 回答
  • 0 关注
  • 813 浏览

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信