github push錯誤
fatal: unable to access ‘https://github.com/使用者名/項目名.git/’: The requested URL returned error: 403
解決方法:
vim .git/config
在github.com前面添加 “使用者名@”
修改前
[remote “origin”]
url = https://github.com/使用者名/項目名.git
修改為:
[remote “origin”]
url = https://使用者名@github.com/項目名/項目名.git
經此, 再次push 應該就能撥開雲霧見天日了~~