1. permission denied 错误
remote: Resolving deltas: 100% (1/1), completed with 1 local objects.
To https://github.com/vy2014/git_lesson.git
! [remote rejected] master -> master (permission denied)
error: failed to push some refs to 'https://github.com/vy2014/git_lesson.git'
Type command:
git config --global --edit
Add these lines of configuration at the end of file:
[credential]
helper = osxkeychain
useHttpPath = true
2.部分无法push的问题【有风险】
git push -f origin master