notes/util/vcs/git/commit.txt
Ihar Hancharenka 5dff80e88e first
2023-03-27 16:52:17 +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