git提交 出现拒绝合并无关历史 解决

这里写图片描述

本地初始化的项目 与 github 版本不一致, 导致无法提交

  • git pull origin master –allow-unrelated-histories

猜你喜欢

转载自blog.csdn.net/uknow0904/article/details/79651821