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
Type
/
to 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
.
microsoft
/
git
Public
forked from
git-for-windows/git
Notifications
You must be signed in to change notification settings
Fork
108
Star
897
Code
Issues
23
Pull requests
3
Discussions
Actions
Projects
Security and quality
1
Insights
Additional navigation options
Code
Issues
Pull requests
Discussions
Actions
Projects
Security and quality
Insights
Add 'git sparse-checkout clean'
- #779
#779
Merged
dscho
merged 9 commits into
microsoft:vfs-2.50.1
microsoft/git:vfs-2.50.1
from
derrickstolee:sparse-checkout-clean-ms
derrickstolee/git:sparse-checkout-clean-ms
Copy head branch name to clipboard
Aug 5, 2025
Conversation
Commits
9
(9)
Checks
Files changed
Merged
Add 'git sparse-checkout clean'
#779
dscho
merged 9 commits into
microsoft:vfs-2.50.1
microsoft/git:vfs-2.50.1
from
derrickstolee:sparse-checkout-clean-ms
derrickstolee/git:sparse-checkout-clean-ms
Copy head branch name to clipboard
Commits
Commits on Aug 5, 2025
sparse-checkout: remove use of the_repository
Show description for 9cf3e54
derrickstolee
committed
9cf3e54
View commit details
Copy full SHA for 9cf3e54
Browse repository at this point
sparse-checkout: add basics of 'clean' command
Show description for abefbf0
derrickstolee
committed
abefbf0
View commit details
Copy full SHA for abefbf0
Browse repository at this point
sparse-checkout: match some 'clean' behavior
Show description for 19840e8
derrickstolee
committed
19840e8
View commit details
Copy full SHA for 19840e8
Browse repository at this point
dir: add generic "walk all files" helper
Show description for 21a654c
derrickstolee
committed
21a654c
View commit details
Copy full SHA for 21a654c
Browse repository at this point
sparse-checkout: add --verbose option to 'clean'
Show description for 4c1fde8
derrickstolee
committed
4c1fde8
View commit details
Copy full SHA for 4c1fde8
Browse repository at this point
sparse-index: point users to new 'clean' action
Show description for 0aeb6a1
derrickstolee
committed
0aeb6a1
View commit details
Copy full SHA for 0aeb6a1
Browse repository at this point
t: expand tests around sparse merges and clean
Show description for 2081452
derrickstolee
committed
2081452
View commit details
Copy full SHA for 2081452
Browse repository at this point
sparse-checkout: make 'clean' clear more files
Show description for 8c1ceb0
derrickstolee
committed
8c1ceb0
View commit details
Copy full SHA for 8c1ceb0
Browse repository at this point
sparse-checkout: mark 'clean' as experimental
Show description for 2b2dd57
derrickstolee
committed
2b2dd57
View commit details
Copy full SHA for 2b2dd57
Browse repository at this point
You can’t perform that action at this time.