转自VC错误:http://www.vcerror.com/?p=1763
问题描述:
使用git push时提示错误信息如下:
To https://name@bitbucket.org/name/mywork.git
! [rejected] master -> master (non-fast-forward)
error: failed to push some refs to 'https://name@bitbucket.org/name/mywork.git'
To prevent you from losing history, non-fast-forward updates were rejected
Merge the remote changes before pushing again. See the 'Note about
fast-forwards' section of 'git push --help' for details.
解决方法:
具体的解决方法参考文章:http://www.vcerror.com/?p=1763