I'm using PyCharm, so the commit text inside of it saves from the last time you pushed a commit. I forgot to change the description of my new commit and accidentally pushed it without realizing that it was wrong. While not life-changing, this is certainly inconvenient and I'm not sure if there is an easy way to do this through GitHub. Help would be greatly appreciated!
Also, it's worthwhile to note that I have already moved on in my project, so the last commit is not the one with the mistake in it.
I tried looking around for any buttons in both PyCharm and GitHub, but could not find anything.
Looks like a job for
rebase.Not surprised. Rebasing is too powerful a feature to work within the confines of any GUI that I've seen. It also can be a footgun for the uninitiated.
For this, you'll need to open a shell.
This isn't recommended if you're part of a development team, but I've seen big open-source projects do it before.