Is there any way to make Git ignore modifications regarding spaces or line breaks?

1

I have refactoring craze. If I see something missing or overly broken, the first thing I do is fix it.

I'm using Visual Studio Code in a project and I use GIT to do version control. These files that I usually give a line break or patch to correct some formatting ends up filling the design notification tab.

I would like to know if there is any way to get GIT to ignore insignificant changes such as breaking lines or adding spaces (not one character or another but space).

I mean, I want the GIT to disregard modifications like these when listing files for commit with git status .

    
asked by anonymous 13.12.2017 / 19:45

0 answers