idea拉取git报错Can‘t Update No tracked branch configured for branch master or the branch doesn‘t exist.

    科技2026-09-26  14

    git添加一句代码,这句代码是在git2.9.2版本发生的,最新版本需要添加 --allow-unrelated-histories,此代码为忽略不相关历史文件

    git pull origin master --allow-unrelated-histories
    Processed: 0.008, SQL: 9