Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to exit git difftool when using with Beyond Compare?

I have configured Beyond Compare as difftool.

When I run $ git difftool, it opens all the diff files in BC, but sequentially i.e. the first diff file opens, which I have to close so that the next one opens, and so on.

When the file count is too large, I need to keep repeating this for each file. Is there any way to -

  1. Quit the diff process midway and return to the $ prompt? OR
  2. Open all the diff files in BC in multiple tabs?
  3. Any other good ideas?
like image 288
indojin Avatar asked May 30 '26 01:05

indojin


1 Answers

Use the parameter --dir-diff this will open up all changes in Bcompare at once. Additionally you can create an alias in your .gitconfig e.g.

git config --global alias.bcompare 'difftool --dir-diff'

then you save some console typing effort :-)

like image 180
HaeschenaufGras Avatar answered Jun 02 '26 05:06

HaeschenaufGras



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!