Undo pushed changes to a file
<p>I recently pushed a commit of changes of a project in a remote repository.
I just figured out that one of the files that I usually don't commit its changes because it could contain sensitive information was included.</p>

<p>I want to undo the committed changes to that file (to the last previous state) without losing the changes of the commit in the other files.</p>

<p>From this:</p>

<ul>
<li>Change FileSensitive -- ++</li>
<li>Change File1</li>
<li>Change File2</li>
<li>New File3</li>
<li>New File4</li>
</ul>

<p>To this:</p>

<ul>
<li>Change File1</li>
<li>Change File2</li>
<li>New File3</li>
<li>New File4</li>
</ul>

<p>For the moment, only I have access to that repository, so there's no problem for rewriting history, so when I give access to that remote repository they won't see that sensitive info in history. So, how can I do that?</p>