I've created a new repository in GitHub, but unfortunately I sent the first commit with node_modules In the second one I removed the node_modules and sent the .gitignore file that avoids to commit all the node_modules since that second commit.
After several more commits in the progress, I've found out that the repository size was big because that initial commit that had all the node_modules.
So, my question is: how can I delete that first commit from the log history to reduce the repository size?
Note: I don't care about the first commit history progress because I have much more progress in the subsequents commits