Skip to content

Instantly share code, notes, and snippets.

View mosgaragedev's full-sized avatar

Mosgarage Dev mosgaragedev

View GitHub Profile
@mosgaragedev
mosgaragedev / gitkeep.md
Created May 3, 2026 04:05 — forked from gengwg/gitkeep.md
what is .gitkeep file?

A .gitkeep file is a convention-based placeholder file used to force Git to track an otherwise empty directory.

Why it's needed

Git doesn't track empty directories - if you commit a folder with no files, it won't be included in your repository. The .gitkeep file solves this problem.

How it works

# Without .gitkeep - empty directory won't be tracked