From: email@mateuszwielgos.com Date: Mon, 23 Sep 2024 12:32:53 GMT Subject: Re: [External] Using Git as a Database Message-ID: <0D0BB87D-9BF0-48BA-8F2D-83F8D326ECEC@mateuszwielgos.com> In-Reply-To: Thank you for your reply, Han. The problem that I have with ‘—allow-empty’ is that the resulting commit is not associated with any particular file. I tried ‘git commit —allow-empty myfile.txt’ but the file argument is effectively ignored. ‘git log myfile.txt’ does not show the empty commit. > On Sep 22, 2024, at 10:48 PM, 韩仰 wrote: > > You can use the --allow-empty option in git-commit to allow > such commits. > > Thanks, > Han