Skip to content
Ryuji Eguchi edited this page Apr 26, 2019 · 10 revisions

Git commit message

Manners

  • 1 PR should do 1 thing.
  • 1 PR might include some changes, but all of them should be for 1 thing.
  • Commits should be separated to meaning flock for a reviewer to check the PR (each commit) easily.

Typical commit messages

  • Make changes according to review

    It's ok sometimes when you make small changes in one commit. But try to write a specific message. (This example is not specific although I think it's acceptable.)

  • Replace <old> with <new>
  • Rename <old> to <new>
  • Add ~
  • Remove ~
  • Fix ~
  • Refactor ~
Clone this wiki locally