title: Git: How do you checkout all deleted files?
body: <p>In git I am familiar with how to checkout individual files that have been deleted using the <code>git checkout -- [&lt;paths&gt;...]</code> syntax (which is recommended when you do <code>git status</code>.</p>
  
  <p>To get all the files you could create a list and give the list as the argument to the above command.</p>
  
  <p>However when you just want all the files that have been deleted (i.e. rm -rf in your cwd and then you want to restore all files) generating that list is inelegant.</p>
  
  <p><strong>How do you checkout all deleted files?</strong></p>