简体   繁体   中英

How to use Bitbucket as a repository in IntelliJ

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?

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.

For instructions on how to generate an SSH key, see the BitBucket documentation here .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM