title: Git stash / detached head
body: <p>I have had a dirty state in my project, which I did not want to commit. I did a git stash, to save it for later. Afterwards I continued and did some commits. The project now is in detached HEAD mode.</p>
  
  <p>Now, I do not care about the stashed changes anymore. How can be the current last commit be made to the new master?</p>