Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>GitSweepNew to Visual Studio Code? Get it now.
GitSweep

GitSweep

jellyedwards

|
2,350 installs
| (4) | Free
Exclude files from git
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

GitSweep README

GitSweep is a VS Code extension which allows you to easily exclude modified or new files so they don't get committed accidentally.

Features

gitsweep in action

GitSweep uses git's --skip-worktree and .git/info/exclude to exclude changed files that you don't want to accidentally commit.

Excluded files are shown in a GitSweep window under the normal git window so you can see which files are changed and include the files again when necessary.

Known Issues/TODOs

Thanks to...

Icons8 and vscode-icons for icons

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft