git shortcuts - Anjum219/Git-basics GitHub Wiki
To quickly add some changes with the latest commit
- Make the changes
- Save them
git add <file>git commit --amend
This will include your changes without writing a separate commit message and then squashing with the previous commit.