summaryrefslogtreecommitdiffstats
path: root/.claude
diff options
context:
space:
mode:
authorThomas Vanbesien <tvanbesi@proton.me>2026-05-19 15:02:43 +0200
committerThomas Vanbesien <tvanbesi@proton.me>2026-05-19 15:07:01 +0200
commit60e7254942b53cfd09bd5836e717290e623f069c (patch)
tree9efb7bc4b7831a7c656bf812702003f74b338708 /.claude
parentdde6a1eaea51a6e1073d963a0843cf5519ad27ed (diff)
downloaddotfiles-60e7254942b53cfd09bd5836e717290e623f069c.tar.gz
dotfiles-60e7254942b53cfd09bd5836e717290e623f069c.zip
misc: instruct using git mv for tracked file renames
Diffstat (limited to '.claude')
-rw-r--r--.claude/CLAUDE.md2
1 files changed, 2 insertions, 0 deletions
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