How to git soft reset last commit
git reset” command with the “–soft” option that will preserve changes done to your files. You have to specify the commit to undo which is “HEAD~1” in this case. The last commit will be removed from your Git history.
git reset --soft HEAD^ // going b...
avy.hashnode.dev1 min read