An open API service indexing awesome lists of open source software.

https://github.com/opcode81/gitkeep

Simple Python script that assists in adding empty directories to git repositories
https://github.com/opcode81/gitkeep

Last synced: 25 days ago
JSON representation

Simple Python script that assists in adding empty directories to git repositories

Awesome Lists containing this project

README

          

# gitkeep

A simple script for Python (2 or 3), which assists in the addition of (a potentially large number of) empty directories to a git repository by adding a file to each such directory.

In each empty directory that is (recursively) found within a specified directory, `gitkeep` can create either an empty file called `.keep` or (for empty directories that shall always remain empty) a `.gitignore` file which ignores everything except itself. A third mode lists empty directories without creating any files.

Run the script without any arguments for usage instructions.