本地倉庫代碼(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本地倉庫沒有遠程分支連接, 在git倉庫創建新的倉庫然後複製倉庫URL鏈接:
git remote add origin https://github.com/xxxxx/xxxxx.git
git push -u origin master