Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[git] feat: load user name and email #620

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

xiangma9712
Copy link

@xiangma9712 xiangma9712 commented Feb 13, 2025

Description

Add two optional env variable GIT_USER_NAME and GIT_USER_EMAIL to set git config

Server Details

  • Server: git
  • Changes to: tools

Motivation and Context

Default commit user is not specific and not suitable for team development

How Has This Been Tested?

This change it self is committed by MCP with inspector

スクリーンショット 2025-02-13 9 41 17

Breaking Changes

No: it's optional and nothing happens to existing users

Types of changes

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)
  • Breaking change (fix or feature that would cause existing functionality to change)
  • Documentation update

Checklist

  • I have read the MCP Protocol Documentation
  • My changes follows MCP security best practices
  • I have updated the server's README accordingly
  • I have tested this with an LLM client
  • My code follows the repository's style guidelines
  • New and existing tests pass locally
  • I have added appropriate error handling
  • I have documented all environment variables and configuration options

Additional context

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant