Skip to content

Add support to commit only certain files with git commit --only #3910

@ramin-t

Description

@ramin-t

You can use git commit --only -m "<commit-message>" foo/bar/fileA.ts foo/bar/fileB.ts

and git will commit those file paths directly without touching you staged/unstaged files.

We should add support for this as a context menu option on files in SCM view

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions