title: composer discard changes: what do the [y,n,v,d,s,?] do
body: <p>Simple question that's been bugging me for months.</p>
  
  <p>Occasionally I'll dive into the vendors directory to fix a bug (especially for our internal libs). After migrating and deploying the fix back to the source package, I'll <code>composer update company/package</code> in the main project and am asked:</p>
  
  <pre><code>Discard changes [y,n,v,d,s,?]
  </code></pre>
  
  <p>I have a decent grasp on <code>y</code> and <code>n</code> but haven't been able to find documentation about what <code>v</code>, <code>d</code>, <code>s</code>, <code>?</code> do? I always hit <code>y</code> but maybe I'm missing out on something useful.</p>
  
  <hr>
  
  <p>Edits:</p>
  
  <ul>
  <li>added <code>d</code> option (oct '17)</li>
  </ul>