【发布时间】:2017-01-02 12:51:51
【问题描述】:
我在汇编中使用 atom 进行编码,我正在尝试将我的提交推送到我的 git-hub 存储库。我下载了 git-plus 包,但每次我推送我都会收到这个错误消息:
"致命的无法读取https://github.com 的用户名没有这样的设备 或地址”
当我使用终端推送时,它可以工作。
【问题讨论】:
标签: git github atom-editor
我在汇编中使用 atom 进行编码,我正在尝试将我的提交推送到我的 git-hub 存储库。我下载了 git-plus 包,但每次我推送我都会收到这个错误消息:
"致命的无法读取https://github.com 的用户名没有这样的设备 或地址”
当我使用终端推送时,它可以工作。
【问题讨论】:
标签: git github atom-editor
通过这些命令远程链接你的 git:
git 远程 rm 来源和 git remote add origin 'git@github.com:username/repo.git'
【讨论】:
尝试为您的存储库添加远程:
git remote rm origin
git remote add origin 'https://github.com/user/repo.git'
链接中的user 是您的姓名,例如GitHub 和 repo 是您的存储库的名称。
【讨论】: