I'm still new to git, so bear with me. I started adding a feature to my project in my current branch and committed it, then found out that I needed to add a more important feature first. (If I had thought about it, I would have just put the new feature into another branch but alas - hindsight is 20/20.)
I want to go back to my previous commit, add the more important feature and then add the less important feature that I already committed. Any ideas?
Thanks in advance.