idea 將項目托管到 Git 報錯:Can't finish Gitee sharing process


在idea中報: Can't finish Gitee sharing process
Succssully created project 'dmp' on Gitee. but initial commit failed:


 

並且在 Gitee 倉庫 只有 .git 文件 .



解決辦法:

  1、在桌面鼠標右鍵
  2、選擇 Git Bash Here
  3、鍵入:git config -- global user.name "你的用戶名"
  4、鍵入:git config --global user.email "你的郵箱"

 

最后在idea中再次托管項目,出現下圖 即托管成功。


 


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM