git配置eclipse - 无法将代码从eclipse推送到远程git服务器 [英] Git Configuration with eclipse--not able to push code from eclipse to remote git server

查看:1365
本文介绍了git配置eclipse - 无法将代码从eclipse推送到远程git服务器的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

1)我刚刚在我的本地centos 6.4服务器配置GIT并创建了一个存储库
2)生成的密钥也保存在服务器
2)我能够从这个远程服务器检出代码我的dev机器在eclipse没有问题,直到这里

1)I have just configured GIT on my local centos 6.4 server and created a repository 2)Generated key also and kept at server 2)I am able to checkout code from this remote server to my dev machine in eclipse no problem till here

但是当我试图推送代码从Eclipse它总是说不能连接到任何存储库:ssh: /homepage@1.1.1.1/var/git/demo/(推送期间发生内部异常:ssh://homepage@1.1.1.1/var/git/demo/:在远程端解压期间发生错误:unpack-objects异常退出)

But when I tried to push code from Eclipse the it always says that "Can't connect to any repository: ssh://homepage@1.1.1.1/var/git/demo/ (An internal Exception occured during push: ssh://homepage@1.1.1.1/var/git/demo/: error occurred during unpacking on the remote end: unpack-objects abnormal exit)"

不知道为什么?

推荐答案

我通过更改目录上的权限修复了问题

I fixed the problem by changing the permission on the directories

这篇关于git配置eclipse - 无法将代码从eclipse推送到远程git服务器的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆