Glossary

git commit --amend

Git
also: git amend · --amend

A Git option that replaces your most recent commit with a corrected version — handy for fixing a typo in a commit message or slipping in a file you forgot. Only use it before you push, since it rewrites history.