I want to merge my branch 'S' to another branch 'T', but there's a file in my branch that I want to be excluded from the merge for my own reasons, and I want the history of my changes on that file to be removed as well. Is there's a way that I could do that using Netbeans's Git, or Tortoise, or whatever. I'm new to this so hopefully you might help me.
Thanks in advance