title: does git reset delete history?
body: <p>I accidentally commited something that might be sensetive information in git (only locally) and I wanna remove it from git history in a simple way. Will</p>
  
  <pre><code>git reset --soft HEAD~1
  </code></pre>
  
  <p>and then unstage the sensetive information and add to gitignore be enough to completely remove it from git history?</p>