How to use Bitbucket as a repository in IntelliJ

狂风中的少年 提交于 2019-12-10 13:53:56

问题


I have tried to add Bitbucket as a repository in IntelliJ (here). However, I came across errors pushing code. I figured out that Bitbucket only allows reading when using access keys.

So, I found a plugin that allows IntelliJ to communicate with Bitbucket. But, this plugin has been discontinued. Is there any other way to use Bitbucket with IntelliJ?


回答1:


Bitbucket is just Git. IntelliJ supports Git.

You are in the wrong section of Bitbucket. You don't want an "Access key" you want to add an SSH key to your user profile. SSH Keys added to your profile can be used for both reads and writes: Use SSH to avoid password prompts when you push code to Bitbucket.

To do this:

  1. Click on your user icon in the bottom left corner, and go to "Bitbucket settings".
  2. Click on "SSH Keys" tab under the "Security" heading of the settings page.
  3. Use the "Add key" button to add your key.


来源:https://stackoverflow.com/questions/44642188/how-to-use-bitbucket-as-a-repository-in-intellij

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!