Bitbucket authentication in PHPStorm
I’m on MacOS.
By using terminal I’ve managed to clone a bitbucket repo and locally all seems to work in PHPStorm. Ie I can see branches, swap branches, I can commit.
Except when I come to interact with bitbucket using pull and push through PHPStorm I get a ‘can’t connect’ error. This is whether I use the visual interface or terminal in PHPStorm
My understanding this is due to the authentication. I have authenticated through git Connection Helper so that I can push using MacOS terminal. This works fine and I can see my changes and commit messages in the repo.
I also have a bitbucket app password. I can’t find anywhere I can authenticate in PHPStorm or use the app password so that I can use the IDE’s commands or terminal.
How do I resolve this?
请先登录再写评论。
In Settings | Version Control | Git, if you enable credential helper, does it work then?
Yes, which is surprising because that's the thing that enabled connection in MacOS terminal. It's definitely installed because git credential-manager --version returns 2.5.1 and a hash
This is expected.
If you disable Credential helper in Settings | Version Control | Git, then git_askpass script will be executed and password per Settings | Appearance & Behavior | System Settings | Passwords will be used.