2016-08-06 3 views
7

では、私がgit fetch remoteRepoNameを試してみましたが、それはこのエラーを返します:Gitは戻り「は致命的な:私はhttpsプロトコル処理しない」取得だけでリモートリポジトリを追加した後のウィンドウ

fatal: I don't handle protocol 'https'

私は、関連する質問を調査したがほとんどのこれらはgit cloneに属していますので、回答が私の場合は機能しません。オンライン3.

... //それを修正するためにこれらのコマンドを実行します。

enter image description here

答えて

9

私はforkgeekとhttps間の余分なスペースを見ることができます:ここではスクリーンショットです。

git remote remove forkgeek 

git remote add upstream https://github.com/forkgeeks/aws-cloudwatch-keen-integration.git 

git fetch upstream 

フォークギアをアップストリームに変更しました。希望する名前を付けることができます。

2
git config --local -e 

このエラーの原因となる余分な/特殊文字を削除できるVimのレポの設定ファイルが開きます。

+0

素晴らしいのために再度URLを追加することができ、それは

git remote rm origin #then check is all worked well git remote -v 

その参照を削除する修正!ありがとうございました! – test30

0

あなたが実行した後に問題が発生した場合

git push origin master 
fatal: I don't handle protocol 'https' 


は今、あなたはリモートリポジトリ

git remote add origin https://example.com/user/repo.git 
#and check 
git remote -v 
#And push the changes in your local repository to github 
git push origin master 
関連する問題