Empty lines removed and added according to GIT -


this started happening without clear reason:

enter image description here

pic source tree gui, same issue can seen in terminal view.

my intuition has line endings, don't know how confirm it.

suggestions?

probably you're using editor automatically removes trailing whitespace. when you've edited file earlier editor keeps trailing whitespace on newlines (to keep indentation) behavior may occur.

edit: may able ignore whitespace changes in github appending ?w=1 url (https://github.com/blog/967-github-secrets)


Comments

Popular posts from this blog

javascript - Karma not able to start PhantomJS on Windows - Error: spawn UNKNOWN -

c# - Display ASPX Popup control in RowDeleteing Event (ASPX Gridview) -

Nuget pack csproj using nuspec -