I created a software and saved some informations in a file. I pushed everything to github and after 9 commits I saw that this file was also pushed to github. I changed the .gitignore so that file isnt pushed anymore.
The problem is now that the information can be seen in the first 10 commits...
Can I somehow delete the first 10 commits and nothing else? (So that my 11th commit would be the first one. I already have more commits)