配置github以使用多个终端

配置github以使用多个终端,git,bash,github,webstorm,Git,Bash,Github,Webstorm,我已经为我的项目安装了git并添加了github作为远程回购,我已经从git bash或“github for window”客户端(或随它一起提供的power shell)使用了几个月了 这一切都很好,但现在我刚刚开始使用webstorm IDE,它在IDE中有自己的终端,从这个终端我可以执行所有git工作流命令,但当我执行“git push github master”时,它每次都会询问我的用户名/密码,这让我很恼火(虽然在我提供凭据后,它会推送我的更改)。如何绕过此操作 虽然没有人要求我在

我已经为我的项目安装了git并添加了github作为远程回购,我已经从git bash或“github for window”客户端(或随它一起提供的power shell)使用了几个月了

这一切都很好,但现在我刚刚开始使用webstorm IDE,它在IDE中有自己的终端,从这个终端我可以执行所有git工作流命令,但当我执行“git push github master”时,它每次都会询问我的用户名/密码,这让我很恼火(虽然在我提供凭据后,它会推送我的更改)。如何绕过此操作


虽然没有人要求我在git bash或powershell上提供凭据!!!

这是一个Webstorm IDE函数,而不是git的功能。您希望Webstorm存储您的git密码:

配置密码策略的步骤


(有关更多信息,请参阅)

尝试将git bash或powershell配置为shell,以供内置终端使用(设置/工具/终端,shell路径),我配置了“git bash”现在,由于它正在按预期工作,让我们看看它是否限制了我在终端上执行更多操作的能力。这对我来说并不起作用,即使在webstorm中设置了主密码默认终端(cmd.exe)后,每当我执行“git push…”时,terminal仍然要求输入github用户名/密码
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.