Committing Empty Directories to Git :joy::joy::relaxed::relaxed:
Project description
# GitEmptyDirs !!
Ever came up with a scenario where you have extracted a software platform and initialised a git repository on it so that you can start building things on it ? If in case, the extracted platform contains lot of empty directories, those directories don’t get committed to you repository which can lead to lot of errors for your co worker. GitEmptyDirs is helpful in those kind of scenarios. It creates an empty .gitignore file or copies a specified file in all empty folders so that every folder gets committed.
## Installation
Easily install using one simple command:
pip install git-empty-dirs
## Usage
GitEmptyDirs can be triggered in three ways.
- git_empty_dirs
It uses the current directory as the base directory and creates an empty .gitignore file in all empty directories.
- git_empty_dirs <path to base folder>
It uses the path provided as the base directory and creates an empty .gitignore file in all empty directories.
- git_empty_dirs <path to base folder> <path to sample file>
It uses the path provided as the base directory and copies the sample file in all empty directories.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for git_empty_dirs-0.6-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 5708402b0889e0f25513d0cac0f562bd83491c493584520bbc77c35931b2b593 |
|
MD5 | c39e6278fe51acec46fe331dd89ae43f |
|
BLAKE2b-256 | 4c1ee73bf5c6ecfe5449554383038bc37a88c42f6eabf3e58dfe07c79d654144 |