Previously, I had my .gitattributes set up like so:
* text=auto
On Windows, unfortunately this resulted in my *.sh files being checked out with CRLF line endings. To correct this, my .gitattributes now look like:
* text=auto
*.sh eol=lf
I'm using Git version 2.24 on Windows 10.
Is there a mechanism where I can, either for the whole local repo or specific directories inside of it, have all files matching new rules in .gitattributes "re-checked-out" so that the line endings (in this case) for *.sh files convert from CRLF to LF?