Skip to content
Navigation Menu
Sign in
Appearance settings
Platform
AI CODE CREATION
GitHub Copilot
Write better code with AI
GitHub Copilot app
Direct agents from issue to merge
MCP Registry
Integrate external tools
DEVELOPER WORKFLOWS
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Code Quality
Enforce quality at merge
APPLICATION SECURITY
GitHub Advanced Security
Find and fix vulnerabilities
Code security
Secure your code as you build
Secret protection
Stop leaks before they start
EXPLORE
Why GitHub
Documentation
Blog
Changelog
Marketplace
View all features
Solutions
BY COMPANY SIZE
Enterprises
Small and medium teams
Startups
Nonprofits
BY USE CASE
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
BY INDUSTRY
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
EXPLORE BY TOPIC
AI
Software Development
DevOps
Security
View all topics
EXPLORE BY TYPE
Customer stories
Events & webinars
Ebooks & reports
Business insights
GitHub Skills
SUPPORT & SERVICES
Documentation
Customer support
Community forum
Trust center
Partners
View all resources
Open Source
COMMUNITY
GitHub Sponsors
Fund open source developers
PROGRAMS
Security Lab
Maintainer Community
Accelerator
GitHub Stars
Archive Program
REPOSITORIES
Topics
Trending
Collections
Enterprise
ENTERPRISE SOLUTIONS
Enterprise platform
AI-powered developer platform
AVAILABLE ADD-ONS
GitHub Advanced Security
Enterprise-grade security features
Copilot for Business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search
/
Sign in
Sign up
Appearance settings
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
Uh oh!
There was an error while loading.
Please reload this page
.
google-gemini
/
gemini-cli
Public
Notifications
You must be signed in to change notification settings
Fork
14.4k
Star
107k
Code
Issues
554
Pull requests
226
Discussions
Actions
Projects
Security and quality
0
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
fix(core): preserve system PATH in Git environment to fix ENOENT (#25034)
- #26587
#26587
Merged
cocosheng-g
merged 9 commits into
main
google-gemini/gemini-cli:main
from
fix/git-enoent-25034
google-gemini/gemini-cli:fix/git-enoent-25034
Copy head branch name to clipboard
May 7, 2026
Conversation
Commits
9
(9)
Checks
Files changed
Merged
fix(core): preserve system PATH in Git environment to fix ENOENT (#25034)
#26587
cocosheng-g
merged 9 commits into
main
google-gemini/gemini-cli:main
from
fix/git-enoent-25034
google-gemini/gemini-cli:fix/git-enoent-25034
Copy head branch name to clipboard
Commits
Commits on May 6, 2026
fix(core): preserve system PATH in Git environment to fix ENOENT (#25034)
cocosheng-g
committed
2384eb6
View commit details
Copy full SHA for 2384eb6
Browse repository at this point
chore: fix formatting in gitService.test.ts
cocosheng-g
committed
d91a3b5
View commit details
Copy full SHA for d91a3b5
Browse repository at this point
refactor(core): sanitize git environment and align tests with style guide
cocosheng-g
committed
dac1173
View commit details
Copy full SHA for dac1173
Browse repository at this point
fix(core): use index access for process.env['PATH'] to satisfy TS4111
cocosheng-g
committed
a6c677b
View commit details
Copy full SHA for a6c677b
Browse repository at this point
refactor(core): use sanitized environment for shadow git repository
cocosheng-g
committed
dd2e2cc
View commit details
Copy full SHA for dd2e2cc
Browse repository at this point
refactor(core): harden git isolation and make environment tests robust
cocosheng-g
committed
1b59b20
View commit details
Copy full SHA for 1b59b20
Browse repository at this point
chore: fix formatting in gitService.ts
cocosheng-g
committed
c81a64d
View commit details
Copy full SHA for c81a64d
Browse repository at this point
test: improve reliability of background tools integration test on Windows
cocosheng-g
committed
db0b613
View commit details
Copy full SHA for db0b613
Browse repository at this point
Revert "test: improve reliability of background tools integration test on Windows"
Show description for fa86222
cocosheng-g
committed
fa86222
View commit details
Copy full SHA for fa86222
Browse repository at this point
You can’t perform that action at this time.