【发布时间】: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
【问题讨论】:
-
嘿,我的回答对你有用吗?
-
好的,非常感谢
-
嗨,从这里尝试一个新的“jetbrains-bitbucket-connector”插件:bitbucket.org/dmitry_cherkas/jetbrains-bitbucket-connector/…