Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

SourceTree merge ignore whitespace conflicts

Is there a way to tell SourceTree to always ignore whitespace "conflicts" during merges? Something like the command-line call:

git merge -Xignore-space-change

as described at Merging without whitespace conflicts.

like image 997
William Jockusch Avatar asked Mar 08 '14 15:03

William Jockusch


1 Answers

SourceTree has an option for ignoring whitespace. It had added this option a couple of years back. You can visit this link for further info.

When in the File status or Log views, there's that gears dropdown below the file list (and right above the file changes). Click that and hit the Ignore whitespace option.

Gear for setting the whitespace ignore setting

Hope this helps.

like image 126
Vidya Sagar Avatar answered Sep 28 '22 13:09

Vidya Sagar