I'm still not very good at making my Git commit messages (for my blog repo) look good; I'm often just trying to dump all the self-reminders/notes in there kind of messily.
I now know (a bit late):
1. The first line is the most important and should be <50 characters with no period
2. There should be a blank line after the first
3. The rest can be up to 72 char.
I hope one day my commit messages can be clean and consistent!
Good guide here: https://wiki.openstack.org/wiki/GitCommitMessages
"[Helix] Spellchecking in Git commits with Harper"
https://blog.skyplabs.net/posts/helix-git-commit/
"Unlike Vim, Helix doesn't include a spell checker natively. However, Helix has built-in support for LSP, which makes it easy to pair it with an LSP-based spell checker such as Harper. All you need is tweaking a bit your languages.toml Helix configuration file as explained in the official documentation."
#Helix #Vim #LSP #LanguageServer #Harper #SpellChecking #Linux #Git #GitCommit #VCS #Dotfiles
Today I read this article by @simontatham on commit messages:
https://www.chiark.greenend.org.uk/~sgtatham/quasiblog/commit-messages/
> "Commit messages aren’t jokes. Don’t make the reader wait until the end for the punchline!"
GIT Grundlagen für Anfänger - welche Befehle ihr wissen müsst und wie ich damit arbeite
Alright today I learned about the git commit conventional.
https://www.conventionalcommits.org/en/v1.0.0/
My commit message where always a mess because I never was sure what to write there. That did make them useless for me an other people I do work with.
I do want to change that and do try this convention going onward.
Today I really learned why good commit messages are so important, nobody ever teached me that and it took me several years to realize that myself.
#Coding #Git #GitCommit #GitConvenction #Developer
#Development #Techniques
Git: avoid ‘reset --hard’, use ‘reset --keep’ instead · The safe way to undo commits in a Git repository https://ilo.im/15zz44
_____
#Programming #VersionControl #Git #GitCommit #WebDev #Frontend #Backend
Undeniable proof of how good I am at creating little, gradual, meaningful, and well sorted commits.