notes/devops/vcs/git/commit.txt
Ihar Hancharenka b9c36c1e5a m
2024-02-04 19:40:05 +03:00

10 строки
349 B
Plaintext

git commit
-m <descr>
-a stage all the previously staged files/content (not including a new files)
--amend
open the $EDITOR and fix the latest commit message of the previous commit
--amend --no-edit
the same but without editing the latest commont message
--allow-empty
allow commit with empty changes