How do I resolve a conflict after git pull?

前端 未结 5 1875
走了就别回头了
走了就别回头了 2020-12-05 06:22

I have to solve some conflict after a git pull.

$ git pull
CONFLICT (rename/add): Renamed vignette_generator_mashed.h->vision_problem_8.h in          


        
5条回答
  •  误落风尘
    2020-12-05 06:51

    If you run your merge from a subdirectory of your project, git will run the merge for your whole project. However, mergetool can only see (and merge) files in or below the working directory. So, if this scenario occurs, make sure you are trying to run your conflict resolution from the top-level directory in your project.

提交回复
热议问题