6 ms·
why bother with a message if it's just garbage?
by cerved 5y ago
why bother with a message if it's just garbage?
- lorlou 5y agoBecause a message is mandatory to be able to make a commit.
- Manozco 5y agogit commit --allow-empty-message https://git-scm.com/docs/git-commit#Documentation/git-commit.txt---allow-empty-message https://git-scm.com/docs/git-commit#Documentation/git-commit...
- samhain 5y agoSomeone above mentioned: git commit --amend --allow-empty
- majewsky 5y ago--allow-empty refers to the changeset [1]. You still need a message. [1] To be precise, it allows to create a commit that has the same tree as the parent commit.
- deleted 5y ago[deleted]
- mzs 5y agoI use 'wip' (work in progress) and it makes it easy to find those save my work commits.