You accidentally pushed a file with secrets or a password that shouldn't have gotten into the Git history. The best thing to do now is to remove the file right away and add it to your .gitignore file. If we look at our Git history, we can still find the file and expose the secrets.
Table of contents
Removing the file right awayRemoving a file from Git onlyCompletely remove a file from Git history11 Comments
Sort: