【问题标题】:Trying Atom integrate with github.com尝试 Atom 与 github.com 集成
【发布时间】:2017-01-02 12:51:51
【问题描述】:

我在汇编中使用 atom 进行编码,我正在尝试将我的提交推送到我的 git-hub 存储库。我下载了 git-plus 包,但每次我推送我都会收到这个错误消息:

"致命的无法读取https://github.com 的用户名没有这样的设备 或地址”

当我使用终端推送时,它可以工作。

【问题讨论】:

    标签: git github atom-editor


    【解决方案1】:

    通过这些命令远程链接你的 git:

    git 远程 rm 来源和 git remote add origin 'git@github.com:username/repo.git'

    【讨论】:

      【解决方案2】:

      尝试为您的存储库添加远程:

      git remote rm origin
      git remote add origin 'https://github.com/user/repo.git'
      

      链接中的user 是您的姓名,例如GitHub 和 repo 是您的存储库的名称。

      【讨论】:

        猜你喜欢
        • 2020-09-21
        • 2017-03-04
        • 2020-08-06
        • 1970-01-01
        • 2019-12-16
        • 2021-03-21
        • 2017-06-13
        • 2018-05-26
        • 2017-07-01
        相关资源
        最近更新 更多