I still see them with git st
This means that they are still being versioned: first you need to remove them from the index:
git rm --cached -- yourConfigFile
git add .
git commit -m "Record deletion of yourConfigfile"
Then it git statuswill ignore these files.
source
share