git報錯:fatal: No configured push destination.


本地倉庫代碼(git push)上傳git倉庫報錯:

fatal: No configured push destination.
Either specify the URL from the command-line or configure a remote repository using

    git remote add <name> <url>

and then push using the remote name

    git push <name>

解決辦法:
在git倉庫創建新的倉庫然后復制倉庫URL鏈接:

git remote add origin https://github.com/xxxxx/xxxxx.git

git push -u origin master


免責聲明!

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



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