git reorganize pull request (e.g. into one commit per file)
I’m working on a project where I have a pull-request of another contributor that contains quite a number of commits (>15), some with really minor changes. In essence, the pull-request boils down to changes on only three files, and the cumulative changes could easily be contained in one commit per file. I like the changes, but I don’t want to clutter our repo with an unnecessary high amount of commits and I am tempted to squash the whole pull request, but that again I feel would be too coarse of a change history.
git reorganize pull request (e.g. into one commit per file)
I’m working on a project where I have a pull-request of another contributor that contains quite a number of commits (>15), some with really minor changes. In essence, the pull-request boils down to changes on only three files, and the cumulative changes could easily be contained in one commit per file. I like the changes, but I don’t want to clutter our repo with an unnecessary high amount of commits and I am tempted to squash the whole pull request, but that again I feel would be too coarse of a change history.