"git reflog" Saved The Day!
Ever wondered what to do when one is asked to change the commit-msg and accidentally types git --amend -m "New commit-msg"?
This merges the new changes with the previous commit and makes a whole new commit.
But then we are told to keep the review id...
akku.hashnode.dev1 min read
Subin S K
👩💻 Software Development Engineer | Passionate about Clean Code, Scalable Systems & Developer Advocacy
Cool, I guess it will be useful for me someday. Thanks!