title: Git: Is there a way to figure out where a commit was cherry-pick'ed from?
body: <p>If I cherry-pick from multiple branches, is there a simple way to figure out where the commit was coming from (e.g. the sha of the original commit)?</p>
  
  <p>Example:<br>
  - at master branch<br>
  - cherry pick commit A from a dev branch<br>
  - A becomes D at the master branch  </p>
  
  <p>Before:</p>
  
  <pre><code>* B (master) Feature Y
  | * C (dev) Feature Z
  | * A Feature X
  |/
  * 3
  * 2
  * 1  
  </code></pre>
  
  <p>After:</p>
  
  <pre><code>* D (master) Feature X
  * B Feature Y
  | * C (dev) Feature Z
  | * A Feature X
  |/
  * 3
  * 2
  * 1  
  </code></pre>
  
  <p>Is it possible to figure out that D was cherry-picked from A (aside from searching for the commit message)?</p>
  
  <p><strong>Edit:</strong><br>
  Although I will go with daggy-fixes (see VonCs answer) I accepted Chris Johnsens answer because it is closer to the actual question. Thanks guys.</p>