我已经安装了git并为我的项目添加了github作为远程仓库,我已经使用它几个月了,现在要么从git bash或者#34; github for window"客户端(或随之附带的电源外壳)。
一切正常,但现在我刚刚开始使用webstorm IDE,它有自己的IDE内部终端,从这个终端我可以执行所有的git工作流命令,但是当我做的时候" git push github master"它每次都要求我的用户名/密码,这让我更加紧张(虽然它确实在我提供我的凭证后推动我的更改)。我怎么能绕过这个?
虽然我没有被要求获得git bash或powershell的凭据!!!
答案 0 :(得分:0)
这是一个Webstorm IDE功能,而不是git的功能。您希望Webstorm存储您的git密码:
配置密码策略
Open the IDE Settings, then clickPasswords.
On the Passwords page that opens, specify how you want WebStorm to process passwords for Git remote repositories.
Do one fo the following:
If you do not need WebStorm to save passwords at all, select the Do not remember passwords option.
To have passwords stored in the memory during a session, select the Remember passwords until closing of the application option.
To have passwords stored in a passwords database, select the Remember on disk (protected with master password) option and specify the master password for the storage.
(有关详细信息,请参阅https://www.jetbrains.com/webstorm/help/handling-passwords-for-git-remote-repositories.html#d328641e233l)