3 ms·
you could always do git commit -m "" --allow-empty
by no_wizard 3y ago
you could always do git commit -m "" --allow-empty
- _nhynes 3y agogit commit --amend --no-edit && git push -f
- mdaniel 3y agoWe may be splitting hairs given what this thread is going on about, but I strongly advocate for `--force-with-lease` as a sane default versus `-f` so that one does not blow away unexpectedly newer commits to the branch The devil's in the details, etc, etc, but I think it's a _much_ more sane default, even for single-user setups/branches because accidents can happen and git DGAF
- totetsu 3y agogit commit -m "--allow-empty"
- diarrhea 3y agoYou can even allow empty messages.