How to set file refactoring on commits?

How can you do code refactoring when committing to git?

In order for the git to look at the format of writing code, that spaces are indented, not tabs, the names of variables and classes, etc...
How can I do that?

Parents Reply Children
No Data