From 60e7254942b53cfd09bd5836e717290e623f069c Mon Sep 17 00:00:00 2001 From: Thomas Vanbesien Date: Tue, 19 May 2026 15:02:43 +0200 Subject: misc: instruct using git mv for tracked file renames --- .claude/CLAUDE.md | 2 ++ 1 file changed, 2 insertions(+) (limited to '.claude') diff --git a/.claude/CLAUDE.md b/.claude/CLAUDE.md index 183e378..dbca976 100644 --- a/.claude/CLAUDE.md +++ b/.claude/CLAUDE.md @@ -3,6 +3,8 @@ - Never add a `Co-Authored-By` line to commit messages. - Don't `git commit` until I've tested the change and confirmed it works. Make the edits, summarize, and wait for my go-ahead — especially for interactive/GUI changes I have to verify myself. +- When renaming or moving a tracked file, use `git mv`, not plain `mv`, so the rename is staged (clean history/diff). + Still don't commit it — I drive commits. # CLAUDE.md memory -- cgit v1.3.1