在使用eclipse上的git做项目的时候,无意中电脑自动版本更新将我缓存的CSV密码给清除了,导致我第二天无论如何pull远程仓库的代码,都一直报错git-upload-pack not permitted on
报错示意图

解决过程

关于eclipse使用git配置报"org.eclipse.jgit.api.errors.TransportException:…git: not authorized"问题
一、错误描述

使用eclipse的git插件进行项目版本管理pull更新时,报"org.eclipse.jgit.api.errors.TransportException: http://…git: not authorized"异常

二、解决方法

1、eclipse打开 Git repositories视图,如下图
在这里插入图片描述
2.展开“Remotes”>“origin” 选择右击您项目“http://地址.git“,选择菜单中的"Clear Credentials "

在这里插入图片描述
3. 再右击您项目“http://地址.git“,选择菜单”Configure Fetch “,如下图,点击”change“

在这里插入图片描述

  1. 如下图, 点击save and Fetch,完成
    在这里插入图片描述

转自: http://www.xwood.net/site_domain/_root/5870/5874/t_c279349.html.

Logo

瓜分20万奖金 获得内推名额 丰厚实物奖励 易参与易上手

更多推荐