Pasar al contenido principal

Commit-editmsg -

Conventional wisdom (and the Git project itself) recommends:

With git commit -m "short" -m "body", you cannot easily see the character count or wrap text. In your editor, your .vimrc or VS Code settings can enforce these rules automatically. The COMMIT_EDITMSG file gives you a full editing environment. COMMIT-EDITMSG

In version control systems like Git, commit messages are crucial for tracking changes in a repository. They provide a human-readable description of changes made in a commit, helping developers understand the history of the project and revert to previous states if necessary. Conventional wisdom (and the Git project itself) recommends:

Your editor has special support for COMMIT_EDITMSG: With git commit -m "short" -m "body" ,