- #
- # git only add non-cr-at-eol changes
- #
- # Needed in case of a source file with mixed CR/CR-LF endings
- git diff >../backup.diff
- git diff --ignore-cr-at-eol | git apply --cached --ignore-whitespace
git only add non-whitespace changes
Posted by Anonymous on Wed 1st Nov 2023 13:31
raw | new post
modification of post by Anonymous (view diff)
Submit a correction or amendment below (click here to make a fresh posting)
After submitting an amendment, you'll be able to view the differences between the old and new posts easily.