Button to run Git Copy Files Paths command and demo:
- Open the Command Palette
Ctrl+Shift+P(Cmd+Shift+Pon macOS) - Type
Git Copy Files Pathsand hitreturn - The paths for the modified/added files are copied in the clipboard
This extension contributes the following settings:
-
gitPaths.includeNonStagedChanges: Include non staged changes. Default istrue. -
gitPaths.includeStagedChanges: Include staged changes. Default istrue.NB: If includeNonStagedChanges and includeStagedChanges are set to
falsethey will both be included. -
gitPaths.removeRepoRootPath: Remove the repository root path from the file path. This will lead to relative paths. Default istrue. -
gitPaths.removeLeadingSlash: Remove the leading slash from the file path. Default istrue. -
gitPaths.removeDuplicates: Remove duplicate paths. Default istrue.
Happy Copying!
