Remove sensitive data from git repository
Long story short:
git filter-branch --index-filter 'git rm --cached --ignore-unmatch MyPasswordFile' \
--prune-empty --tag-name-filter cat -- --all
More details:
https://help.github.com/articles/remove-sensitive-data
Written by Francesco Tassi
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Git
Authors
Related Tags
#git
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#