致命的:我不处理协议 [英] fatal: I don't handle protocol
问题描述
$ b
[first_app] $ git push heroku master在我尝试推送到Heroku时,出现以下错误消息。
致命的:我不处理协议'git@heroku.com:yourhttp'
然后我查看了Heroku的不同版本,并且似乎有多个版本,所以我尝试删除它,但又收到了另一个错误消息。
[first_app] $ git remote set-url --delete heroku git@heroku.com:yourhttp://still-lake-3136.herokuapp.com/.git
致命:不会删除所有非推送网址
我搜索了类似的错误消息,但无法找到任何要修复的内容这个。
以下是我的配置文件:
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
ignorecase = true
[remoteorigin]
url = git@github.com:wongsteven / first_app.git
fetch = + refs / heads / *:refs / remotes / origin / *
[branchmaster]
remote = origin
merge = refs / heads / master
[remoteheroku]
url = git@heroku.com:yourhttp://still-lake-3136.herokuapp.com/ .git
fetch = + refs / heads / *:refs / remotes / heroku / *
[heroku]
remote = heroku
无法推送至heroku |
git错误:无法处理https |
heroku + git submodule需要身份验证 |
错误:致命:当使用软件包安装时,我不处理协议git
Git / GitHub无法推送给主人
在Git仓库的URL中加上引号(这对我有效,我使用的是Windows 8.1) $ b
When I try to push to Heroku, I get the following error messages.
[first_app]$git push heroku master
fatal: I don't handle protocol 'git@heroku.com:yourhttp'
I then took a look at the different versions of Heroku that I have and there seems to be more than one so I tried deleting it but got another error message.
[first_app]$ git remote set-url --delete heroku git@heroku.com:yourhttp://still-lake-3136.herokuapp.com/.git
fatal: Will not delete all non-push URLs
I searched for similar error messages but was not able to find anything to fix this one. Your help is greatly appreciated.
Here is my config file:
[core]
repositoryformatversion = 0
filemode = true
bare = false
logallrefupdates = true
ignorecase = true
[remote "origin"]
url = git@github.com:wongsteven/first_app.git
fetch = +refs/heads/*:refs/remotes/origin/*
[branch "master"]
remote = origin
merge = refs/heads/master
[remote "heroku"]
url = git@heroku.com:yourhttp://still-lake-3136.herokuapp.com/.git
fetch = +refs/heads/*:refs/remotes/heroku/*
[heroku]
remote = heroku
not able to push to heroku | git error: cannot handle https | heroku + git submodule needs authentication | error: "fatal: I don't handle protocol ``git` when using bundle install | Git/GitHub can't push to master
Put quotes around the url of the Git repository (this worked for me. I'm using Windows 8.1)
这篇关于致命的:我不处理协议的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!