git可以add to index-->commit。但在pull的时候出现: org.eclipse.jgit.api.errors.transportexception。css
解决的方法:html
Eclipse windows-->preferences-->general-->security-->secure storage-->contents-->GIT.git
选中ssh后点击delete。github
从新启动Eclipse就可以了。windows
附上一个stackoverflow的解决方法:http://stackoverflow.com/questions/3601805/auth-failed-error-with-egit-and-github。api