在我推一下之后,Eclipse会忘记我的Git密码和用户名 [英] Eclipse forget my Git password and username everytime after I do a push
问题描述
Eclipse Git版本:3.3.2.201403251439
Eclipse在推送后每次都会忘记我的git用户名和密码。有什么问题?
我尝试过如何使Egit记住密码和用户名?:
1)转到Git透视图 - >展开您的项目 - >展开遥控器 - >展开要保存密码的遥控器。
2)右键单击抓取或推送 - >选择更改凭证...
3)输入用户名和密码 - >选择Ok
但它对我来说没有效果。我的问题是Eclipse可以暂时记住我的用户名和密码,如下图所示:
但是,在我推一下之后,Eclipse会忘记所有的凭据(用户名和密码):
Eclipse要求我输入用户名和密码每次我做一个推动,即使第一个数字显示它已经暂时记住我的密码。
帮助将不胜感激。
我自己遇到了问题。它应该是我使用的Eclipse Git的版本中的错误。当我更新到最新的Eclipse Git,问题解决了!
Eclipse Platform Version: 4.3.2.v20140221-1852 Build id: M20140221-1700
Eclipse Git Version: 3.3.2.201403251439
Eclipse forgets my git username and password every time after I do a push. What is the problem?
I have tried the methods in How to make Egit remember password and username?:
1) Go to the Git Perspective -> Expand your Project -> Expand Remotes -> Expand the remote you want to save your password.
2) Right-click on the Fetch or Push -> Select Change Credentials...
3) Enter username and password -> Select Ok
But it did not work for me. My problem is that Eclipse can temporarily remember my username and password as shown in the following figure:
But after I do a push, Eclipse will forget all the Credentials (username and password):
Eclipse asks me for the username and password every time I do a push even if the first figure shows it has temporarily remembered my password.
Helps would be much appreciated.
I got the problem myself. It should be a bug in the version of Eclipse Git I was using. When I updated to the latest Eclipse Git, the problem is solved!
这篇关于在我推一下之后,Eclipse会忘记我的Git密码和用户名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!