在github倉庫創建一個分支后,使用webstorm下載分支,發現以下提示:
點clone后,發現本地更新文件無法上傳,報錯:
No tracked branch configured for branch master or the branch doesn't exist.
根據https://blog.csdn.net/ezconn/article/details/83823172提示的操作,執行無效,
解決方式:
在本地新建文件夾,參照遠程教程:
當執行 git push -u origin master 時,會提示以下錯誤
fatal: unable to access 'https://github.com/***/rhinoceros.git/': Could not resolve host: github.com
參照:https://blog.csdn.net/qq_38415505/article/details/83687207
依次輸入命令:
git config --global --unset http.proxy
git config --global --unset https.proxy
再次執行: git push -u origin master,會彈出彈窗,輸入倉庫用戶名及密碼即可解決。