macOS下git push报错! [remote rejected] main -> main (permission denied)
参考:https://stackoverflow.com/questions/40069344/remote-rejected-master-master-permission-denied
git config --global --edit
添加如下内容:
[credential]
helper = osxkeychain
useHttpPath = true