我想將現有專案推送到我的 github 存盤庫,其余步驟執行良好,但在最后一步它給了我如下錯誤。如果您有任何解決方案,請幫助我。
- git 版本 2.25.1
- 作業系統:Ubuntu 20.04.4 LTS
saifullah@saifullah-IdeaPad-Gaming3-15ARH05D:~/Desktop/pro/emotion__detection/FacialExpressionRecognition$ git push -u origin master
fatal: unable to find remote helper for 'masterhttps'
saifullah@saifullah-IdeaPad-Gaming3-15ARH05D:~/Desktop/pro/emotion__detection/FacialExpressionRecognition$ git remote -v
origin masterhttps://github.com/saifujasoor/Face-expression-recognition-with-Fast.ai-and-OpenCV.git (fetch)
uj5u.com熱心網友回復:
問題在這里:
git remote -v origin masterhttps://github.com/[snip]
請注意,這不是:
origin https://github.com/...
但它應該是。要修復它,請使用git remote set-url origin https://github.com/saifujasoor/Face-expression-recognition-with-Fast.ai-and-OpenCV.git或 rungit config --edit在您選擇的編輯器中編輯您的配置,并洗掉部件master前面的https://。
轉載請註明出處,本文鏈接:https://www.uj5u.com/ruanti/456578.html
