title: Deleting a commit in Between other commits
body: <p>I have a local and its corresponding github repo. I have some commits as</p>
  
  <pre><code>A &lt;- B &lt;- C &lt;- D
  </code></pre>
  
  <p>A being the latest.</p>
  
  <p>This is situation on both the repos. I want to delete commit C as if it never happened.</p>
  
  <p>So it should be like on <code>git log</code></p>
  
  <pre><code>A &lt;- B &lt;- D
  </code></pre>
  
  <p>on both repos.</p>
  
  <p>I tried <code>git reset --soft &lt;sha-commit-C&gt;</code> and am now stuck. I can not see <code>A, B</code>. Before doing any further steps i want to be fully sure that i know what i am doing.</p>
  
  <p><code>git reflog</code> gives me :</p>
  
  <pre><code>git reflog
  73ea54d HEAD@{0}: reset: moving to 73ea54d8
  a594699 HEAD@{1}: rebase -i (finish): returning to refs/heads/unique_ptr_release
  a594699 HEAD@{2}: checkout: moving from unique_ptr_release to a594699fb6f7d85bc8
  a594699 HEAD@{3}: checkout: moving from unique_ptr_release to unique_ptr_release
  a594699 HEAD@{4}: commit (merge): Merge branch 'master' into unique_ptr_release
  </code></pre>
  
  <p><code>HEAD@{4}</code> is what my Head was before <code>reset --soft</code> command.</p>
  
  <p>How do i get out of this situation ?</p>