In a very simple example, I create a text file and add a line of characters then init add and commit. My file looks like this:
111
Then I add another line of characters add and commit, so my file looks like this:
111
222
Then I add another line of characters add and commit, so my file looks like this:
111
222
333
Then I revert ##########, referencing the second commit, where I added 222
In VSCode, I get a conflict to resolve and accepting incoming changes, I am left with:
111
I thought it should be:
111
333
Is this how revert works? Based on docs, it should remove just the changes from that commit, not all changes since then. Any ideas what I'm doing wrong?