GitHub supports Adding a file to a repository. How can the line endings be changed on an existing file in the repo with the GitHub gui?
This is for an existing file in repo without cloning repo and changing it in git.
The GitHub documentation about "Configuring Git to handle line endings" only mentions a local Git setting.
That being said, if you can open your project in a GitHub Web IDE (or a github.dev
web-based editor), then you could change the EOL of a file.
However... that would be still cloning the repository (on an Azure VM generated for github.dev/github/dev
to use).