方法一:選擇菜單VCS—Import into Version Control — Share project on Github,填寫倉庫名和github賬戶之后,點擊”Share”按鈕即可。如下圖

方法二:在本地的項目文件上右鍵,選擇“Git Bash Here”,彈出框中輸入命令。如下圖三。如果pull或push失敗,則git branch --set-upstream master origin/master,或者在Idea的項目右鍵,選擇Git -> Repository -> Branches -> origin/master -> Checkout as new local branch。

延伸閱讀

學(xué)習(xí)是年輕人改變自己的最好方式-Java培訓(xùn),做最負責(zé)任的教育,學(xué)習(xí)改變命運,軟件學(xué)習(xí),再就業(yè),大學(xué)生如何就業(yè),幫大學(xué)生找到好工作,lphotoshop培訓(xùn),電腦培訓(xùn),電腦維修培訓(xùn),移動軟件開發(fā)培訓(xùn),網(wǎng)站設(shè)計培訓(xùn),網(wǎng)站建設(shè)培訓(xùn)學(xué)習(xí)是年輕人改變自己的最好方式