新建的倉庫,再把本地的代碼往上push的時候Git提示git
push
$ fatal: I don't handle protocol 'https'
Git是支持https的,這點毋庸置疑,因此確定不是Git的問題。那問題可能出如今本身進行remote add 的時候多是Github倉庫的地址出了問題。code
https
remote add
刪除錯誤的Git倉庫地址,從新添加便可rem
$ git remote rm origin $ git remote add origin yourURL