Return to Snippet

Revision: 58785
at August 3, 2012 10:42 by cphoover


Initial Code
git filter-branch --index-filter 'git rm --cached --ignore-unmatch configuration.php' HEAD


## skip if already in ignore file
echo 'configuration.php' >> .gitignore
git add .gitignore
git commit -m "modified ignore file"

git pull
git push origin master --force

Initial URL


Initial Description


Initial Title
Remove sensitive data from git history

Initial Tags


Initial Language
Bash