FYI: Created blog post with more details
Sometimes git does not exclude files/folders added .gitignore
especially if you had commited them before. Here is how to fix it. I am ignoring node_modules from Angular project as an example
- Update
.gitignore
with the folder/file name you want to ignore. You can use anyone of the formats mentioned below (prefer format1)
### Format1 ###
node_modules/