在使用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“

- 如下图, 点击save and Fetch,完成

转自: http://www.xwood.net/site_domain/_root/5870/5874/t_c279349.html.
本文详细介绍了在Eclipse中使用Git时遇到的密码清除问题及解决方案。当缓存的CSV密码被意外清除后,导致无法从远程仓库拉取代码。文章提供了具体的步骤,包括在Git Repositories视图中清除凭证、配置fetch操作,帮助读者解决git-upload-pack not permitted和TransportException: not authorized等常见错误。

3万+

被折叠的 条评论
为什么被折叠?



