Skip to content

Instantly share code, notes, and snippets.

@chrismatthieu
chrismatthieu / gist:992261
Created May 25, 2011 23:57
If you ever need to remove files from your GitHub repo's history, here's how to do it:
1. add all of the files you want to hide to .gitignore
2. git commit -a -m "removed files"
3. git filter-branch
4. git push origin master -f