Without creating a branch and doing a bunch of funky work on a new branch, is it possible to break a single commit into a few different commits after it\'s been committed to
Here is how to split one commit in IntelliJ IDEA, PyCharm, PhpStorm etc
In Version Control log window, select the commit you would like to
split, right click and select the Interactively Rebase from Here
mark the one you want to split as edit, click Start
Rebasing
You should see a yellow tag is placed meaning that the HEAD is set
to that commit. Right click on that commit, select Undo Commit
Now those commits are back to staging area, you can then commit them separately. After all change has been committed, the old commit becomes inactive.