Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Quick gitignoreNew to Visual Studio Code? Get it now.
Quick gitignore

Quick gitignore

domodev

|
2,898 installs
| (0) | Free
Easily add the current working directory or file to .gitignore
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Overview

Tool to quickly add the currently opened file or current working directory to a root .gitignore file.

Adding a file to .gitignore

Ctrl+Shift+P (Windows) or Cmd+Shift+P (Mac) and run Add current file to .gitignore.

Adding the current working directory to .gitignore

Ctrl+Shift+P (Windows) or Cmd+Shift+P (Mac) and run Add current file to .gitignore.

Known Issues

  1. No handling of the case where no .gitignore file exists

Release Notes

1.0.0

Initial release

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