【问题标题】:Pycharm and bitbucket pluginPycharm 和 bitbucket 插件
【发布时间】:2013-07-05 08:51:57
【问题描述】:

我已经安装了 bitbucket plufin 来将我的 Pycharm 与 bitbucket 连接起来。我已经在 PyCharm 的 VCS 菜单中尝试过 -> 导入到版本控制 -> 共享项目(带有 bitbucket 图标) -> 将其命名为我的项目 -> 标记它是 Git 存储库 -> 单击确定,然后我收到错误消息“在 bitbucket 上共享项目 - 推送失败”

Log 11:11:33.157: cd /Users/apple/Documents/Projects/Python/Study_python2
11:11:33.157: git show --name-status -M --pretty=format:%x01%h%x02%H%x02%ct%x02%an%x02%at%x02%ae%x02%cn%x02%ce%x02%p%x02%d%x02%s%x02%b%x02%B%x03 --encoding=UTF-8 5847233
11:11:33.066: cd /Users/apple/Documents/Projects/Python/Study_python2
11:11:33.066: git log HEAD --branches --remotes --tags --max-count=340 --date-order --pretty=format:%x01%h%x02%ct%x02%p%x02%an%x03 --encoding=UTF-8 --full-history --sparse -- .
  • 我已尝试导入版本控制 -> 在 Github 上共享项目 - 没关系
  • 我还在项目目录中安装了本地 .git

[更新] 在设置我的 repo 和初始提交后,当我尝试推送 smth 时,我在 pycharm 中遇到了新错误:Push failed: fatal: The remote end hung up unexpectedly 我将我的公钥添加到 bitbucket 但这并不能解决我的问题。解决方案是通过 https 而不是 ssh 连接到 bitbucket

  • 转到 bitbucket 并将 https 链接复制到您的 repo
  • 使用 https 链接在项目目录 .git/config 的文件中编辑 url

【问题讨论】:

标签: git bitbucket pycharm


【解决方案1】:

我也遇到了同样的问题,解决方法如下:

http://www.youtube.com/watch?v=klfLSRXUOzY

这里的主要问题是 PyCharm / PHPStorm / IntelliJ 没有将遥控器添加到项目中。这意味着您必须通过git add remote <your remote here>手动添加遥控器

【讨论】:

  • 你能在这里总结一下答案吗?
猜你喜欢
  • 1970-01-01
  • 2018-05-25
  • 2014-07-23
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
  • 1970-01-01
相关资源
最近更新 更多