如何在IntelliJ中使用Bitbucket作为存储库 [英] How to use Bitbucket as a repository in IntelliJ

查看:157
本文介绍了如何在IntelliJ中使用Bitbucket作为存储库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图在IntelliJ中添加Bitbucket作为存储库(

所以,我找到了一个允许IntelliJ与Bitbucket通信的插件。但是,这个插件一直是停产。有没有其他的方式来使用IntelliJ的Bitbucket?

解决方案

Bitbucket只是Git。 IntelliJ支持Git。



您位于Bitbucket的错误部分。你不想要一个访问密钥你想添加一个SSH密钥到你的用户配置文件。添加到配置文件的SSH密钥可用于读取和写入:使用SSH避免在将代码推送到Bitbucket时出现密码提示。



要做到这一点:


  1. 点击左下角的用户图标,进入Bitbucket设置 。
  2. 点击设置页面安全标题下的SSH密钥标签。

  3. 使用添加密钥按钮添加您的钥匙。


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.

这篇关于如何在IntelliJ中使用Bitbucket作为存储库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆