GitHub commit search: “remove password”
Too many comments here recommend to clean up the commit and just hide the mistake under the rug. This is wrong.If you leak a password to any public location, there is only one reasonable course of action: CHANGE IT!Don't even bother rewriting the commit. Focus on changing that password right away, and while you're at it, figure out a better way to manage your secrets outside of your source code in the future. Mistakes happen, but they shouldn't be repeated.