.git folder staged by running 'git add .'
Describe the bug
Claude called git add ., which resulted in the .git folder itself being added to git
To Reproduce Steps to reproduce the behavior:
- Get Claude to call
git add .(this can happen in multiple ways, so not 'exact steps')
Expected behavior A clear and concise description of what you expected to happen.
Logs If applicable, add logs to help explain your problem. `git status On branch main Your branch is ahead of 'origin/main' by 2 commits. (use "git push" to publish your local commits)
Changes not staged for commit: (use "git add/rm ..." to update what will be committed) (use "git restore ..." to discard changes in working directory) modified: ./.git/config modified: ./.git/index modified: ./.git/logs/HEAD `
Additional context Add any other context about the problem here.
Source: modelcontextprotocol/servers