move-files

Installation
SKILL.md

Move Files Command

Overview

A two-phase approach for moving files that preserves git history and makes changes trackable in diffs.

The Problem

When moving files, if you copy content and write new files, git treats them as deletions + additions rather than moves. This makes it impossible to track what actually changed versus what just moved.

The Solution: Two-Phase Move

Phase 1: Move Files with mv Commands

CRITICAL RULE: Use terminal mv commands ONLY. Never copy content and write files.

mv source/path destination/path

After moving files, STOP.

Related skills

More from steveclarke/dotfiles

Installs
29
GitHub Stars
32
First Seen
Jan 25, 2026