git: use "commit --cleanup=whitespace" with "rebase --interactive" git: use "commit --cleanup=whitespace" with "rebase --interactive" git git

git: use "commit --cleanup=whitespace" with "rebase --interactive"


In git 1.8.2 they added the setting I was trying to use:

"git commit" can be told to use --cleanup=whitespace by setting the configuration variable commit.cleanup to 'whitespace'.

Meanwhile, I just started adding a single space before a #...


Do you mean something like this ?

[alias]    rec = rebase --interactive