【问题标题】:initialize bitbucket repository with existing project using netbeans使用 netbeans 使用现有项目初始化 bitbucket 存储库
【发布时间】:2018-10-11 18:04:53
【问题描述】:

我有一个现有的 netbeansproject(大约 20 个类,java),我想使用私有存储库对其进行管理。所以我选择了 bitbucket(有一个帐户和存储库)。我初始化了一个本地 git 存储库(使用 netbeans)。

如何使用 netbeans 将我的项目与 bitbucket 存储库连接起来?

当我尝试“推送”它时,我收到此错误消息“无法连接到https://OsmosisDJones@bitbucket.org/OsmosisDJones/inba.git 的远程存储库”

【问题讨论】:

    标签: netbeans bitbucket


    【解决方案1】:

    这是一个老问题,如果有人需要答案。

    git add --all
    git commit -m "Initial Commit"
    git remote add origin https://...
    git push -u origin master
    

    创建存储库后,您可以在 bitbucket 上找到此信息。

    【讨论】:

    • 你的答案如何与netbeans联系起来?
    猜你喜欢
    • 1970-01-01
    • 1970-01-01
    • 2021-01-09
    • 2011-07-06
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    • 1970-01-01
    相关资源
    最近更新 更多