使用以下命令可以检查 merge 后哪些文件冲突了。
git diff --name-only --diff-filter=U
test_case/conftest.py
test_case/sg_stg_andriod/test_sg_stg_andriod_payment.py
test_case/sg_stg_andriod/test_sg_stg_android_add_card.py
test_case/sg_stg_andriod/test_sg_stg_android_kyc.py
test_case/sg_stg_andriod/test_stg_homepage.py
test_case/sg_stg_andriod/test_stg_homepage_search.py
test_case/test_1111111.py
test_cases/sg_stg_andriod/test_sg_stg_android_add_card.py
test_cases/sg_stg_andriod/test_stg_homepage_search.py
test_cases/test_1111111.py
testcase/sg_stg_andriod/test_sg_stg_android_add_card.py
testcase/sg_stg_andriod/test_stg_homepage_search.py
testcase/test_1111111.py
参考官网
仅仅列出改变的名字。
过滤器,U 是仅显示 Unmerged。
至此,理解了这个用法。
参考
https://stackoverflow.com/questions/3065650/whats-the-simplest-way-to-list-conflicted-files-in-git