From: Johannes Sixt Date: Tue, 05 Aug 2025 06:03:46 GMT Subject: Re: Feature Request: git mv --after (new flag) Message-ID: <4d08a37e-2c12-4e3b-b6a6-028e2d6c0a22@kdbg.org> In-Reply-To: <2f505f75-112a-4b71-bb05-ea0cb7731cd7@fmorschel.dev> Am 04.08.25 um 16:05 schrieb FMorschel: > This is a request to add an –after mode to git mv command to explicitly > mark a filesystem rename after it has occurred (analogous to mercurial > => hg mv –after). > > This would allow IDE/Language refactor renames/moves and would make sure > git still detects the moves correctly for keeping the correct commit > history. I've wished for this feature several times already. Though, in Git parlance it would be spelled `git mv --cached`. -- Hannes