SourceTree external merge stopped working
Asked Answered
G

3

9

Ive been using tortoiseMerge as external tool in source tree for a while now but today I had 3 conflicts after pull, so I fixed the first one then I wanna open the next and window pops up saying Visual merge in progress, but nothing happens, tortoise is not launching.

How could that happen?
It works one second and than it doesn't...

I did some search but did not really find much, I tried to change diff tool in source tree from system default to tortoise, but that did nothing.

Any ideas what happened?

Gelasias answered 22/4, 2016 at 21:41 Comment(0)
N
1

This may happen due to Sourcetree couldn't fine '.gitconfig' file location. Even if you keep 'Allow Sourcetree to modify your global Git config files' check box ticked. The may not be updated.

Try adding, HOME in your system environment variables to the path of your '.gitconfig' file location. For e.g. HOME C:\Users\XXX

This worked for me after trying all above solutions

Nedanedda answered 26/8, 2021 at 7:19 Comment(0)
A
0

This can happen if one of the files is deleted.

You can run the following command in a command prompt in windows, to be able to answer the question git-mergetool asks when one of the files (or even both) is deleted.

Use your own CONFLICTED_FILE_PATH, and you may need to use a different path to point to your git-mergetool:

sh "c:\Program Files\Git\mingw64\libexec\git-core\git-mergetool" -y --tool=sourcetree -- CONFLICTED_FILE_PATH
Aragon answered 11/3, 2019 at 21:27 Comment(0)
M
-1

Did you select the diff/merge tool and added the path, too? Screenshot of souretree External Diff/Merge setting

You may also check the '.gitconfig' file (located in the user directory).

Marje answered 5/4, 2019 at 14:2 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.