Skip to content

git shortcuts

Hasnat Anjum Haz edited this page Jan 12, 2023 · 1 revision

To quickly add some changes with the latest commit

  • Make the changes
  • Save them
  • git add <file>
  • git commit --amend

This will include your changes without writing a separate commit message and then squashing with the previous commit.

Clone this wiki locally