Skip to content
This repository has been archived by the owner on May 7, 2023. It is now read-only.

Latest commit

 

History

History
20 lines (16 loc) · 428 Bytes

create-empty-commit.md

File metadata and controls

20 lines (16 loc) · 428 Bytes
title type tags cover dateModified
Create an empty commit
snippet
commit
colorful-plastic
2021-04-13 21:10:59 +0300

Creates an empty commit.

  • Use git commit --allow-empty -m <message> to create an empty commit with the provided <message>.
git commit --allow-empty -m <message>
git commit --allow-empty -m "Empty commit"
# Creates an empty commit with the message "Empty commit"