How to resolve merge conflicts in Git? -
is there way explain how resolve merge conflicts in git?
try: git mergetool
it opens gui steps through each conflict, , choose how merge. requires bit of hand editing afterwards, it's enough itself. better doing whole thing hand certainly.
as per @joshglover comment:
the command doesn't open gui unless install one. running git mergetool me resulted in vimdiff being used. can install 1 of following tools use instead: meld, opendiff, kdiff3, tkdiff, xxdiff, tortoisemerge, gvimdiff, diffuse, ecmerge, p4merge, araxis, vimdiff, emerge.
Comments
Post a Comment