Skip to content

Instantly share code, notes, and snippets.

@tonyfast
Created October 14, 2014 20:24
Show Gist options
  • Select an option

  • Save tonyfast/f44f990a783acec1df44 to your computer and use it in GitHub Desktop.

Select an option

Save tonyfast/f44f990a783acec1df44 to your computer and use it in GitHub Desktop.
Remove a single file from the Git history
git filter-branch --tree-filter 'rm -f _data/Cropped_fiber_matrix_400_400.mat' HEAD
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment