



























Just ran into this situation, and I'm leaving a note here for my future self. I hope you find it helpful.
I got myself into the chicken-or-the-egg situation that goes like this:
npx create-react-app my-apps-name locally but that makes a new directory all unto itselfgit remote add origin https://github.com/user/repo.gitgit pull origin master .... well, crap. fatal: refusing to merge unrelated historiesgit pull origin master --allow-unrelated-histories此内容由惯性聚合(RSS阅读器)自动聚合整理,仅供阅读参考。 原文来自 — 版权归原作者所有。