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?
From the main menu, choose VCS | Get from Version Control. In the Get from Version Control dialog, click Add Repository Location and specify the repository URL. Click Check Out. In the dialog that opens, specify the destination directory where the local copy of the repository files will be created, and click OK.
It works with both Bitbucket Cloud and Bitbucket Server (6. x or later). Basic features: Review pull requests right in your favorite IDE, leave comments, create tasks.
Open the project that you want to put under Git. From the main menu, choose VCS | Create Git Repository. In the dialog that opens, specify the directory where a new Git repository will be created.
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:
For instructions on how to generate an SSH key, see the BitBucket documentation here.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With