Last active
November 28, 2023 07:13
-
-
Save asd142513/989e89aee761083cdde85684f489fc1f to your computer and use it in GitHub Desktop.
fix line ending
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for dir in */ ; do | |
pushd $dir | |
git diff --name-only | xargs -Iarg sed -i 's/\r$//' arg | |
popd | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment