title: Git - Delete a Blob
body: <p>Is there a way or command to delete a blob from git using its ID </p>
  
  <p>I used the command</p>
  
  <pre><code>$ git rev-list --objects --all | git cat-file --batch-check='%(objectname) %(objecttype) %(rest)' | grep '^[^ ]* blob' | cut -d" " -f1,3-
  </code></pre>
  
  <p>And got the list of blobs in all versions like</p>
  
  <pre><code>62f7e0df0b80bce8d0a4cb388be8988df1bec5ef NodeApplication/NodeApplication/public/javascripts/homescript.js
  b1d69387fbd4d4e84bbe9eb2c7f59053c0355e11 NodeApplication/NodeApplication/iisnode/index.html
  624642d6f2a86844dc145803260537be0fe40090 NodeApplication/NodeApplication/.ntvs_analysis.dat
  </code></pre>
  
  <p>Now I want to delete the blob </p>
  
  <pre><code>NodeApplication/NodeApplication/.ntvs_analysis.dat. 
  </code></pre>
  
  <p>How can I do that?</p>