Subject: Re: [RFC] reset --hard: warn before discarding staged content with no commit history

From: Junio C Hamano <[email-masked]>
Date: Thu, 11 Dec 2025 12:24:24 +0900

Koutsouflakis Stefanos <[email-masked]> writes:

> When running "git reset --hard" in a repository where staged
> content has never been committed, the staged files are lost. This
> seems like a case where requiring --force could be helpful.

The thinking has always been "'--hard' means what it says!  HARD
removes things harder than other modes---there is need to add
'--force' to it".

So, I dunno.