🔧 git commit --amend
Update a commit message or add new files to last commit
Update the message on your last commit:
command line
git commit --amend -m "better message"
Include a file you forgot on your last commit.
command line
git add <your-file>
git commit --amend --no-edit