--- title: Create an empty commit tags: commit,beginner --- Creates an empty commit. - Use `git commit --allow-empty -m ` to create an empty commit with the provided ``. ```sh git commit --allow-empty -m ``` ```sh git commit --allow-empty -m "Empty commit" # Creates an empty commit with the message "Empty commit" ```