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
- Host: GitHub
- URL: https://github.com/opcode81/gitkeep
- Owner: opcode81
- Created: 2018-12-30T11:44:57.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-12-30T11:46:26.000Z (over 7 years ago)
- Last Synced: 2025-03-21T05:15:42.253Z (about 1 year ago)
- Language: Python
- Size: 1000 Bytes
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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.