eclipse中git的使用无法push

在eclipse使用git,安装什么的都不说了,eclipse4.2.2已经自带了。
现在主要说一下eclipse中git无法push的问题:
解决方法是在git base客户端中执行:
git remote add origin https://code.csdn.net/yq81862/autocode.git
git push -f
之后,eclipse才能够进行push操作。
这个问题我不知道什么原理,害的我查了好几天。

猜你喜欢

转载自yq81862.iteye.com/blog/1920637