Advertisement
Guest User

Untitled

a guest
Mar 24th, 2017
73
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.19 KB | None | 0 0
  1. # check tracked files
  2. git ls-tree --full-tree -r master
  3.  
  4. # remove file from history
  5. git filter-branch --tree-filter 'rm file'
  6.  
  7. # check tracked files for removal
  8. git ls-tree --full-tree -r master
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement