15 Nov 2011

Completely purging sensitive files from a git repo

Completely purging sensitive files from a git repo

Say for instance you want to open source a private repo with files containing sensitive information. You can effectively purge a file from a git repo as well as all history by running

 

Remember to do this for each branch in your repo. Then do:

More detail here

Leave a Reply