I want to stop tracking a data.pkl file, which is too large to push to github.
I've used "git rm --cached data.pkl" to remove tracking according to Remove a folder from git tracking
I used "git ls-tree -r master --name-only" to check what files are tracked. I found data.pkl shows in the list. Even I did git rm --cached -r ., I still see all files being tracked.
Below screenshot shows the .pkl I want to stop tracking already in "delete mode". But once I do push, these files are resulting in a push failure.