Prepare repository for merge

This commit is contained in:
Angelos Chalaris
2023-05-01 22:28:09 +03:00
parent 7482512abf
commit a0255199d7
93 changed files with 0 additions and 0 deletions

View File

@ -0,0 +1,20 @@
---
title: Create an empty commit
type: snippet
tags: [commit]
cover: colorful-plastic
dateModified: 2021-04-13T21:10:59+03:00
---
Creates an empty commit.
- Use `git commit --allow-empty -m <message>` to create an empty commit with the provided `<message>`.
```shell
git commit --allow-empty -m <message>
```
```shell
git commit --allow-empty -m "Empty commit"
# Creates an empty commit with the message "Empty commit"
```