Mở source file cấu hình Vim dưới 30 dòng giúp viết commit message chuẩn: giới hạn 50 ký tự cho tiêu đề, xuống dòng trống, body tự xuống dòng ở 72 ký tự, kiểm tra chính tả. Dễ cài đặt, phù hợp ai dùng Git + Vim. Có thể tùy chỉnh theo Conventional Commits. #Git #Vim #OpenSource #CommitMessage #LậpTrình #CôngCụ #DevTool

https://www.reddit.com/r/opensource/comments/1qjngly/i_open_sourced_a_single_file_less_than_30_lines/

A lot of my co-workers use graphical code-editors — mostly VScode but occasionally editing straight in #GitHub or #GitLab — or even full-fledged #IDEs. Seems like very few of those tools enforce useful #CommitMessage. When I'm writing commit-messages — be they individual commits or part of a merge-commit — I'm trying to leave a "here's what I did and why" documentation-trail. Even if someone is competent at reading code, a good commit message can help with more-quickly understanding what's going on (especially if, like me, you're working across projects, across code-bases and across languages and/or frameworks).

#git

Git commit messages: do you use plain text or rather consciously markdown?

1. Reasons for plain text: Commit messages are not always viewed with tools which render markdown, and those which render markdown ... render which markdown exactly?

2. Reasons for markdown: most markdown constructs are meanwhile known to developers, so it improves readability even without rendering.

#git #gitlab #githib #codeberg #forgejo #markdown #commitmessage

plain text
70%
markdown
30%
other funky format (describe in a comment)
0%
Poll ended at .

Still writing “WIP” or “Fix stuff” in your commits?

🔹 A good commit = clear + useful + readable
🔹 Future-you will thank you

📌 7 simple rules to follow
🔗https://levelup.gitconnected.com/good-commit-vs-your-commit-how-to-write-a-perfect-git-commit-message-6e96ab6357fa

#git #DevLife #CleanCode #CommitMessage #BestPractices

“Good Commit” vs “Your Commit”: How to Write a Perfect Git Commit Message

Years ago, I never realized there were specific rules for writing commit messages until my curiosity got the best of me. I used to think that straightforward messages like “added feature 2,” “fixed…

Level Up Coding

#proTip: When you open a file of #code to edit it, fill in the #commitMessage with the goal of the changes you want to make in your #versionControl interface.

After you make your changes, only "Add" the changes necessary to accomplish the goal in the commit message; anything else should go in a separate #commit.

This keeps you focused on the task, and prevents your #commits from getting polluted with unrelated work that may confuse #codeReview.

#programming #git #coding #ide

Restore the vendor lint honeypot #commitmessage

man I am the best at naming stuff...

#Git #Commit #CommitMessage

In which I try to convince the reader that commit messages are really the best store of information about changes to code and they should be made better use of.

https://hegdenu.net/posts/commit-messages/

#commitMessage #git #devLife

commit message rant (part 1 of n) - hēg denu - Hayden Stainsby

#git #commitmessage of the day:

The only situation where less spaghetti is better is in programming!

CVS commit: pkgsrc/devel