Привет, Гость!
Chat (0) | Вход | Регистрация

Commit-editmsg -

: Git automatically overwrites this file every time you start a new commit. It is a "volatile" file intended for single-use sessions.

git config --global core.commentChar ";" COMMIT-EDITMSG

Sometimes, you might manually edit this file or a hook leaves it in a bad state. If you ever open it and see old garbage text interfering with a new commit, you can simply delete the file. Git will recreate it on the next commit. : Git automatically overwrites this file every time

To write a good COMMIT_EDITMSG (the temporary file Git opens for your commit message), follow the widely accepted 50/72 rule follow the widely accepted 50/72 rule

На главную
statok.top