提交报错:
! [rejected] master -> master (fetch first) error: failed to
push some refs to 'https://gite
使用 git pull 同步仓库出现
! [rejected] master -> master (non-fast-forward) error: failed
to push some refs to 'https:/
解决:
git pull origin master --allow-unrelated-histories //把远程仓库和本地同步,消除差异
再次提交即可