Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

EdgeX will follow will well-established conventions for creating consistent, well written Git commit messages.  Just follow the seven rules below and you shouldn’t run into any problems.

The seven rules of a good Git commit message are:

  1. Separate subject from body with a blank line
  2. Limit the subject line to 50 characters
  3. Capitalize the subject line
  4. Do not end the subject line with a period
  5. Use the imperative mood in the subject line
  6. Wrap the body at 72 characters
  7. Use the body to explain what and why vs. how

...

  • If your branch includes more than one commit, do not merge with a fast-forward

 

# good - ensures that a merge commit is created

$ git merge --no-ff my-branch

# bad

$ git merge my-branch

...