Reputation: 864
I want to get list of all characters, that were used to change files in directory.
The closest I got to this problem was using:
git diff --color-words="[^[:space:]]|([[:alnum:]]|UTF_8_GUARD)+"
--no-index ./original_directory/ ./changed_directory/
By using this command, I get lines with highlighted characters, which were changed. Is there any way to sed/grep/awk the output, so that output will be just the colored characters?
Upvotes: 0
Views: 1139