Git difftool - how to ignore images?

I am new to git / osx / unix, but in my current work I use all of them. I run "git diffftool" to compare the changes in the commit, but anytime it runs into the image, I get an error from FileMerge and I need to make a few unnecessary clicks to skip it ... sometimes 10 or 20 times for any fixation.

I looked, but did not see a simple way to ignore images during diff?

+3
source share
1 answer

See this page from a Pro Git book that describes how to tell Git which files in your repositories are binary and how to relate to them differently.

+4
source

Source: https://habr.com/ru/post/1761160/


All Articles