Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Git Move TrackerNew to Visual Studio Code? Get it now.
Git Move Tracker

Git Move Tracker

Alexey Akimov

|
1 install
| (0) | Free
Keep your Git history intact with automatic `git mv` operations for file and folder moves in VS Code Explorer.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Git Move Tracker

Keep your Git history intact by automatically running git mv when renaming or moving files in VS Code.

By default, VS Code's file system operations lead to Git seeing a "deleted" file and a "new" untracked file, especially for folders. This breaks the direct line of commit history. Git Move Tracker solves this by automatically executing git mv the moment you move or rename tracked items in the Explorer.

✨ Features

  • 🔄 Automatic git mv: Triggers seamlessly when you move or rename files/folders in the VS Code sidebar.
  • 📜 Preserve Git History: Ensures your commit history remains unbroken and easy to track across renames.
  • 📁 Recursive Folder Support: Moves an entire folder? The extension intelligently handles all tracked files inside correctly.
  • 🔍 Smart Tracking: Only acts on files already tracked by Git. Untracked "new" files are handled by VS Code natively.
  • 📦 Zero Config: Just install it and it works for any Git repository you're working in.

🚀 How it Works

  1. Move or rename a file or folder in the Explorer.
  2. The extension identifies if the item is part of a Git repository.
  3. If it's a tracked file/folder, the extension performs the git mv command for you.
  4. A notification confirms that the Git move was successful.

📋 Requirements

  • Git must be installed and available in your system's PATH.
  • The project must be an initialized Git repository.

💡 Why use this?


📄 License

This extension is licensed under the MIT License.

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft