Terminal
$
Type the commands shown in the sidebar to proceed.
$
Learn how to modify the most recent commit using git commit --amend. This lesson covers changing commit messages, adding forgotten files, and understanding when it's safe to amend commits.