git push 出现错误
git push origin master To github.com:monkey-wenjun/python2018.git ! [rejected] master -> master (fetch first) error: failed to push some refs to '[email protected]:monkey-wenjun/python2018.git' hint: Updates were rejected because the remote contains work that you do hint: not have locally. This is usually caused by another repository pushing hint: to the same ref. You may want to first integrate the remote changes hint: (e.g., 'git pull ...') before pushing again. hint: See the 'Note about fast-forwards' in 'git push --help' for details.
git fetch origin warning: no common commits remote: Counting objects: 3, done. remote: Compressing objects: 100% (2/2), done. remote: Total 3 (delta 0), reused 0 (delta 0), pack-reused 0 Unpacking objects: 100% (3/3), done. From github.com:monkey-wenjun/python2018 * [new branch] master -> origin/master
git push -u origin master -f