0

I couldn't find information on google whether you can assign the rider as a diff and merge tool in GitExtensions. There is no such option in GitExtensions by default

On GitHub Gist, there is only one mention of setting up rider as a global diffftool. However, even if the path to rider64.exe is specified correctly, and GitExtensions itself sees Rider as a diffftool, nothing happens when you try to run the application. Regardless of whether the IDE is open or not.

Pasha
  • 3
  • 2

1 Answers1

1

I also searched for this solution and came across the same mention. After several attempts, I finally managed to do it :)

# Diff with JetBrains Rider
[diff]
    tool = rider
[difftool]
    prompt = false
[difftool "rider"]
    cmd = \"C:/your_path/rider64.exe\" diff \"$LOCAL\" \"$REMOTE\"
    path = C:/your_path/rider64.exe

# Merge with JetBrains Rider
[merge]
    tool = rider
[mergetool]
    prompt = false
[mergetool "rider"]
    cmd = \"C:/your_path/rider64.exe\" merge \"$LOCAL\" \"$REMOTE\" \"$BASE\" \"$MERGED\"
    path = C:/your_path/rider64.exe
    trustExitCode = true

I made it globally in

C:\Users\your_user\.gitconfig

WSeba
  • 26
  • 4