Git: Ignore whitespace when merging or cherry-picking

Updated . Posted . 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
Besprechungs-PC
License
Source code in this card is licensed under the MIT License.
Posted by Tobias Kraze to makandra dev (2016-01-08 16:31)