Skip to content

Instantly share code, notes, and snippets.

@0xBEEFCAF3
Created January 27, 2024 01:22
Show Gist options
  • Save 0xBEEFCAF3/459f734f78b2ea5fafa1746ef4a0bc70 to your computer and use it in GitHub Desktop.
Save 0xBEEFCAF3/459f734f78b2ea5fafa1746ef4a0bc70 to your computer and use it in GitHub Desktop.
Find White spaces introduced in git commits using fish shell
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