What to write in commit if i remove copy and paste code in function
- User
What to write in commit if i remove copy and paste code in function
- Assistant
When writing a commit message for removing duplicated (copy-pasted) code within a function, it's essential to be clear, concise, and descriptive. A good commit message should:
- Use the Imperative Mood: Start with a verb (e.g., "Remove," "Refactor," "Consolidate").