Rubymine运行良好。我能够无缝地使用rubymine执行各种与git相关的操作。但突然间它不起作用了。当我想拉它说:
致命:无法从远程存储库中读取。
对于所有其他读/写>操作,它也会失败。
但是git在我的机器里运行得很好。我的意思是我可以用命令行推/拉。但现在与鲁比明合作。
我在用Mac。
首先确保您可以从命令行使用git。如果可以的话,
Go to settings -> Version Control -> Git
Select "SSH executable" -> Native
然后重新启动Rubymine。
您是否初始化了本地git存储库,该远程存储库应该添加到该存储库中?
你的本地目录有一个.git文件夹吗?
尝试gitinit。。。
步骤1-尝试将您的公钥添加到Heroku
heroku密钥:添加~/.ssh/id_rsa.pub
步骤2-生成一组新的SSH密钥,然后再次尝试第一步
https://help.github.com/articles/generating-ssh-keys
步骤3-验证和/或修改您的配置文件
vim~/.ssh/config
Host heroku.com
Hostname heroku.com
Port 22
IdentitiesOnly yes
IdentityFile ~/.ssh/id_rsa <--- Should be your public SSH key
TCPKeepAlive yes
User jsmith@gmail.com
步骤4-从git中删除heroku远程,重新创建连接
通过heroku添加远程创建将只是新存储库的一个选项。请确保删除您最初尝试创建的旧回购
$ git remote rm heroku
$ git heroku create
步骤5:重新安装Heroku工具包
http://hayley.ws/2010/12/04/getting-jekyll-running.html