码迷,mamicode.com
首页 > 其他好文 > 详细

Push failed: Failed with error: fatal: Could not read from remote repository.

时间:2015-09-23 18:54:51      阅读:243      评论:0      收藏:0      [点我收藏+]

标签:

GitLab push远端,出现错误提示:Push failed: Failed with error: fatal: Could not read from remote repository.

 

原因: 1,账号无push的权限。

    2,请添加一个正确的sshKey 添加方法:

 

      ssh-keygen -t rsa -C "账号"

      cat ~/.ssh/id_rsa.pub

将ssh保存到 GitLab即可

 

Push failed: Failed with error: fatal: Could not read from remote repository.

标签:

原文地址:http://www.cnblogs.com/pennbj/p/4832741.html

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!