When you edit the .gitignore file, the rules added only apply to the untracked files. For the files already committed to a remote git repository, you’ll need
Source: Remove git files, directories in .gitignore from a remote repository | ComputingForGeeks
Recent Comments