Back to TIL
March 2025
posted on 03.24.2025

Add to previous Git commit

git add my-file
git commit --amend --no-edit
  • --amend: Amends previous commit.
  • --no-edit: Use previous commit message.
No reactions yet

in Naperville, IL
Last visitor from Mitaka, Japan