git fatal: I don't handle protocol 'https'問題的解決

問題復現

新建的倉庫,再把本地的代碼往上push的時候Git提示git

$ fatal: I don't handle protocol 'https'

問題分析

Git是支持https的,這點毋庸置疑,因此確定不是Git的問題。
那問題可能出如今本身進行remote add 的時候多是Github倉庫的地址出了問題。code

解決方法

刪除錯誤的Git倉庫地址,從新添加便可rem

$ git remote rm origin
$ git remote add origin yourURL
相關文章
相關標籤/搜索