How do I remove sensitive files from git's history
- by Stefan Liebenberg
I would like to put a git project ( Rails app ) on github,
but it contains certian files with sensitive data ( usernames and passwords, like /config/deploy.rb for capistrano ).
I know I can add these filenames to .gitignore, but this would not remove the their history within git.
I also don't want to start over again by deleting the /.git…