### 错误提示

git pull origin master

From https://github.com/treeandgrass/javaPrj_1
 * branch            master     -> FETCH_HEAD
fatal: refusing to merge unrelated histories

### 解决方式

使用

git pull origin master --allow-unrelated-histories

结果:

From https://github.com/treeandgrass/javaPrj_1
     * branch            master     -> FETCH_HEAD
    Merge made by the 'recursive' strategy.
     README.md | 2 ++
     1 file changed, 2 insertions(+)
     create mode 100644 README.md

treeandgrass
1.3k 声望16 粉丝

github:[链接]