Created
January 27, 2024 01:22
-
-
Save 0xBEEFCAF3/459f734f78b2ea5fafa1746ef4a0bc70 to your computer and use it in GitHub Desktop.
Find White spaces introduced in git commits using fish shell
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 commit in (git log --format='%H' HEAD~5..HEAD) | |
git show $commit | sed 's/.. $/& <<<< HERE/' | |
echo "=====" | |
end | less |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment