Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>Git-Folder-ManagerNew to Visual Studio Code? Get it now.
Git-Folder-Manager

Git-Folder-Manager

Pranay

|
1 install
| (0) | Free
Manage .gitkeep and .gitignore files
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

Git Folder Manager

A lightweight VS Code extension for managing Git-tracked folders.

Git does not track empty directories. Git Folder Manager helps maintain folder structures by automatically creating and cleaning up .gitkeep files, and generating a basic .gitignore file.

Features

Add GitKeep Files

Scans the workspace and adds .gitkeep files to empty folders.

Before:

project/
├── uploads/
├── logs/
└── cache/

After:

project/
├── uploads/
│   └── .gitkeep
├── logs/
│   └── .gitkeep
└── cache/
    └── .gitkeep

Remove Unused GitKeep Files

Removes .gitkeep files from folders that are no longer empty.

Before:

uploads/
├── image.png
└── .gitkeep

After:

uploads/
└── image.png

Generate .gitignore

Creates a basic .gitignore file in the workspace root.

Generated content:

node_modules/
dist/
out/
build/
.env

Commands

Open the Command Palette (Ctrl+Shift+P) and run:

  • Git Folder Manager: Add GitKeep Files
  • Git Folder Manager: Remove Unused GitKeep Files
  • Git Folder Manager: Generate .gitignore

Installation

Install from the Visual Studio Code Marketplace.

Release Notes

1.0.0

  • Add .gitkeep files to empty folders
  • Remove unused .gitkeep files
  • Generate .gitignore
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2026 Microsoft