【git】注意事项

2022-09-04  本文已影响0人  keloli

如何写一个Git Commit Message

The seven rules of a great Git commit message

Keep in mind: This has all been said before.

  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
上一篇下一篇

猜你喜欢

热点阅读