I have a repository where I have a commit I would like to publish as a patch to an open source project. The problem is that some parts of that commit have debugging information I need and want to keep for myself, but represent clutter to this public repository.
What I am looking for is to produce a patch file from my repository through a similar mechanic as the git add -up
, where I can select which parts of the differences are going to be staged for commit. Is there any way to this to produce a patch I can send?