question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

alm does not work when external diff/mergetool for git configured

See original GitHub issue

I have defined external diff and merge tools in my .gitconfig. Everytime I open alm it automatically opens my mergetool several times and I cannot work in the editor anymore. When deleting the configuration from .gitconfig alm works fine again.

[merge]
    tool = extMerge
[mergetool "extMerge"]
    cmd = extMerge \"$BASE\" \"$LOCAL\" \"$REMOTE\" \"$MERGED\"
[mergetool]
    trustExitCode = false
[diff]
    external = extDiff
[difftool "sourcetree"]
    cmd = /Applications/p4merge.app/Contents/MacOS/p4merge \"$LOCAL\" \"$REMOTE\"
    path = 
[mergetool "sourcetree"]
    cmd = /Applications/p4merge.app/Contents/MacOS/p4merge \"$BASE\" \"$LOCAL\" \"$REMOTE\" \"$MERGED\"
    trustExitCode = true

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
htammencommented, Jul 24, 2016

Thx, works fine now. Congratulations for this great typescript editor. Even though I’m using IntelliJ Idea for my larger projects I will give alm a try for smaller projects in the future.

0reactions
basaratcommented, Jul 23, 2016

The connection missing in my brain was opening alm vs. opening any file in alm 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

External diff/merge tool does not launch - Atlassian Community
Solved: After update to 3.1.3 version of sourcetree I can't launch external diff/merge tool. I've tried everything that I could find, but it...
Read more >
Why can't I configure an external difftool or mergetool for Git?
I'm trying to configure an external difftool and mergetool for Git under Windows 10. Everything keeps telling me to type out two Git...
Read more >
Use Visual Studio as your Diff and Merging Tool for local files
When you check in code, and have a conflict, the merge tool from Visual Studio is presented. image. All fine. Problem is that...
Read more >
How to configure Visual Studio as Diff and Merge tool for Git
If you use Visual Studio 2017 or greater, you can simply go to to Team Explorer and open settings of the repository. image....
Read more >
Why Vsdiffmerge Alway Open A New Visualstudio And Not ...
Git config to use vsdiffmerge.exe as a diff/merge tool - vsDiffMerge.gitconfig. This script is not up to date and may not use the...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found