Hbuilder提交項目到GitHub出現cannot open git-upload-pack

問題描述

Hbuilder上傳本地項目到GitHub時是經過下載的Egit插件,然而提交代碼時出現下圖問題html

 

網上有說添加http的sslVerify=false,然並卵。git

 

解決方案

不用hbuilder的插件了,這個辣雞,自己hbuilder用的也很少還給整出這幺蛾子。github

採用Git Gui提交。ui

 

操做步驟

Create Repository

建立倉庫,選擇要上傳的項目根目錄。插件

Rescan

掃描該repository下的文件。htm

Stage Changed

選中這些文件,轉爲待提交狀態。blog

Commit

提交。ssl

GitHub建立倉庫

例如ukulele。get

Add New Remote

填寫Remote Details信息it

Name:ukulele

Location:https://github.com/xiguanchendian/ukulele(GitHub倉庫的路徑)

Push

推送剛剛提交的項目到GitHub。

刷新GitHub倉庫,發現已經成功了。

 

 感謝

相關文章
相關標籤/搜索