解決 git push 錯誤信息:The requested URL returned error: 403 Forbidden while accessin

很顯然是url返回錯誤,須要修改remote url

1. 首先查看當前remote

git remote -v
複製代碼

2. 從https修改成ssh

git remote set-url origin git@github.com:WoFeng806/component-talk-webpack.git
複製代碼

3. 從ssh修改成https

git remote set-url origin https://github.com/WoFeng806/component-talk-webpack.git複製代碼
相關文章
相關標籤/搜索