Remove useless .gitkeep files from your repo.
Git doesn't track empty directories. To include such directories you need to put
a placeholder file inside them. A common (but unofficial) convention is to name
these files .gitkeep.
This is used when scaffolding a project, and in project templates. Files are usually
added later to those directories. However, the initial .gitkeep files are often
left behind, no longer serving any purpose. This utility finds such files and removes them.
The recommended way to use this utility is with pre-commit. Here's an example configuration:
repos:
- repo: https://github.com/AleksaC/gitdispose
rev: v0.1.0
hooks:
- id: gitdisposeRun pre-commit autoupdate to get the latest version.