Git ammend to a commit
Mar 4, 2022 - ⧖ 1 minAfter carefully staging only lines related to a specific change and comitting I suddenly realized I missed one... darn, what do I do?
Old me would have soft reset my branch to the previous commit and redone all my careful staging... what a PIA...
New me (credit: ThePrimeagen)...
# stage other changes I missed
git commit --amend --no-edit