/ Published in: Bash
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
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