Skip to content

[FR・Question]Selective Automatic Staging and Commit (File-Level Exclusions) #1005

@daichi-629

Description

@daichi-629

Related issues: #954 and #926

Summary

I would like to be able to include or exclude files from the “Automatic staging and commit” feature via settings. I cannot rely on .gitignore for this use case because it is not applicable with the intended workflow.

Motivation

I want different commit behaviors depending on the directory:

  • note/ should be staged and committed automatically
  • scripts/ (e.g., scripts and other operational files) should be committed manually so I can control versioning and commit timing

Proposed feature

Add a new setting:

  • Exclude files from Automatic staging and commit (regex)

Expected behavior

Files whose paths match the regex configured in “Exclude files from Automatic staging and commit” are not automatically staged or committed.

Question

Is a feature equivalent to the above already implemented?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions