I made some changes to the code, added, committed then pushed. This resulted in an error due to large files. Now I update .gitignore to track those large files.
How to push updated .gitignore only but leave out rest of the files that have been already commited??
Even after just adding and committing the updated gitignore file, when I push, it will push in the rest of the change sets that I have already previously committed but failed due to error.