Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>gitdifftoclipboardNew to Visual Studio Code? Get it now.
gitdifftoclipboard

gitdifftoclipboard

RSmarzaro

|
19 installs
| (1) | Free
Copy all files changed to a clipboard list separated by comma
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Git Diff to Clipboard

This Visual Studio Code extension allows you to easily copy the list of files changed between two branches into the clipboard. The copied list can then be used in the search Include field in VSCode or elsewhere.

Features

  • Compare the current branch with a specific branch (e.g., develop).
  • Copies the names of all files changed between the branches to the clipboard, separated by commas.
  • Ideal for using with the search functionality in VSCode to focus on modified files.

How to Use

  1. Open your workspace in VSCode.
  2. Run the command Copy Git Diff Files from the Command Palette (Ctrl + Shift + P).
  3. Enter the branch name you want to compare against.
  4. The list of modified files will be copied to the clipboard.

Example

If you run the command with develop as the target branch, you'll get the list of files modified between your current branch and develop, such as:

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