Git: Ignore whitespace when merging or cherry-picking

Posted Over 8 years ago. Visible to the public.

You can tell git to ignore different kinds and amounts of whitespace when merging or cherry-picking. This often occurs when you changed indentation, or converted tabs to spaces.

Simply use

git merge <REV> -Xignore-space-change

or

git cherry-pick <REV> -Xignore-space-change
Tobias Kraze
Last edit
Over 8 years ago
Deleted user #20
License
Source code in this card is licensed under the MIT License.
Posted by Tobias Kraze to makandra dev (2016-01-08 16:31)