I just noticed that the project the junior developers in my company are working on have not added node_modules to .gitignore file at the beginning of the project... Now I was taking a look at the commit history and I noticed that the git pull took a lot of time and there were a lot of changes, so the reason was that they did not ignore node_modules directory .
All I want to do is re-write the commit history and git push --force and tell them to git pull --rebase.
Is there any way to re-write that history without that node_modules folder?
A Master in Git is needed here!
 
    