What are the best practices for writing effective commit messages? #460
Answered
by
AhmedSalman1
AhmedAli375
asked this question in
Q&A
-
I’m new to collaborating on GitHub and want to improve my commit messages. |
Beta Was this translation helpful? Give feedback.
Answered by
AhmedSalman1
Nov 21, 2024
Replies: 1 comment
-
Best Practices for Commit Messages:
|
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
AhmedAli375
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Best Practices for Commit Messages:
Follow a structure:
• Short summary (50 characters max)
Be specific:
• Bad: "Fix issue" • Good: "Fix crash on login page"
Use prefixes:
• feat: for features, fix: for bugs, docs: for documentation