Skip to content

Git - Add a command palette option for git rm #111767

@chmac

Description

@chmac

I'd like to be able to open the command palette and choose "Git: Delete Current File" which would do the equivalent of git rm path where path is the path to the current file.

A git rm will fail when the file is not currently committed. If it has uncommitted changes, or is not tracked by git, then it will fail. In this way, it's a "safer" form of delete, while avoiding the system trash folder.

Metadata

Metadata

Labels

feature-requestRequest for new features or functionalitygitGIT issueshelp wantedIssues identified as good community contribution opportunitiesinsiders-releasedPatch has been released in VS Code Insiders

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions