Undoing Things in Git
1. Fixing the last commit
If you've committed changes and later realize you've forgotten to include something, you have the option to make additional changes and amend the previous commit without creating an extra commit by using the "--amend" option...
jainshreyansh.com3 min read