Skip to content

Does MCP git support .gitignore feature? #2732

Description

@mosjin

Is your feature request related to a problem? Please describe.
I use git MCP to auto commit/push codes to repo, but it pushes .git/ , .venv/ dir to repo even I ignored them with .gitignore...

Describe the solution you'd like
git MCP should ignore files/dirs within .gitignore

Describe alternatives you've considered
Define the ignore rules for AI IDE like cursor...

Additional context
In this commit, lots of files within .git dir commited by git MCP.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions