Amend a commit without changing its message

Bash

Adds forgotten files to the previous commit and leaves the message exactly as it was.

git add path/to/forgotten-file
git commit --amend --no-edit

More in Git

Random picks