I'm currentely working on a Git pull request for some repository. I have run through typical steps: fork -> add some changes -> commit -> push to forked repo and then create a PR.
I'm quite familiar with Git and have already created many PRs, but a particular project starts to cause some formatting issues.
When I pushed the update branch and went to github UI to check my PR changes, I have see many many diff changes that seems related to Intellij IDEA which formatted my code. Here goes a sample:
What those sections refer to? Why is Intellij removing an are and adding absolutely the same one so it is marked as a diff?
Actually those changes makes my PR too hard to read, even for me and I'm sure that project owner won't accept such an horor.
So my question is, how to deal with such situations? Can I disable code formatting and work on my PR? Is there an other hint to do so?
I'm addressing my question to Intellij + Git experts, so please suggest if there is some practices (good) I should follow.
Regards.