I'm looking to split a commit up and not sure which reset option to use.
I was looking at the page In plain English, what does "git reset" do?, but I realized I don't really understand what the git index or staging area is and thus the explanations didn't help.
Also, the use cases for
--soft look the same to me in that answer (when you want to fix and recommit). Can someone break it down even more? I realize
--mixed is probably the option to go with, but I want to know why. Lastly, what about
Can someone give me a workflow example of how selecting the 3 options would happen?