recently I learned git,
I added a line of words to a file 1.txt,
but I was cheap, I changed this to git add,
also carried out git commit operation,
at this point, I want to push, but when I think about it, I feel that I still need some changes. I regret submitting it.
then I checked on the Internet, can git reset-- hard head ^ back and forth a version,
but after I backed back, went back to the previous version, I changed the code is gone.
what I want is to change the status that has just been submitted by commit to the state where there is no commit after git add, or even just change it, without add, or commit.
ask all the bosses to do me a favor. Thank you!