How do I resolve a conflict after git pull?

前端 未结 5 1877
走了就别回头了
走了就别回头了 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:55

    I think you just forgot "-t" switch at your command line. According git help page it stands for "-t , --tool=" so it makes what you intended to.

    Try:

    git mergetool -t gvimdiff
    

    Of course you may use your prefered merge tool instead of mine gvimdiff, meld is great too...

提交回复
热议问题