Dan*_*nov 8 git bitbucket pycharm
我已经安装了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 -- .
Run Code Online (Sandbox Code Playgroud)
[更新]
设置我的repo和初始提交后,当我尝试推送smth时,我遇到了pycharm中的新错误:Push failed: fatal: The remote end hung up unexpectedly我将我的公钥添加到bitbucket但是这不能解决我的问题.解决方案是通过https而不是ssh连接到bitbucket
url项目目录中的文件.git/config我遇到了同样的问题,这是解决方案:
http://www.youtube.com/watch?v=klfLSRXUOzY
这里的主要问题是 PyCharm / PHPStorm / IntelliJ 没有将远程添加到项目中。这意味着您必须通过手动添加遥控器git add remote <your remote here>