Remove trailing whitespace from all text files
I've used the following command to remove the trailing whitespace for all tracked text files:
git grep -Il '' | xargs sed -i 's/[ \t]*$//'
I've used the following command to remove the trailing whitespace for all tracked text files:
git grep -Il '' | xargs sed -i 's/[ \t]*$//'