Welcome to Gitcln 👋
CLI tool aim to clean local git repository from .gitignore file(s)/folder(s).
you can create or download .gitignore file and use this tool anywhere.
Installation ⚓
$ pip install gitcln
Usage 🗝
| Arg | Shortcut | Type | Description | Default |
|---|---|---|---|---|
| --directories | -d | optional | directory(ies) to ignore | [ ] |
| --files | -f | optional | file(s) to ignore | [ ] |
$ gitcln --help
usage: gitcln [-h] [-d [DIRECTORIES [DIRECTORIES ...]]] [-f [FILES [FILES ...]]]
CLI tool aim to clean local git repository from .gitignore file(s)/folder(s).
optional arguments:
-h, --help show this help message and exit
-d [DIRECTORIES [DIRECTORIES ...]], --directories [DIRECTORIES [DIRECTORIES ...]]
Directory(ies) to ignore. (default: [])
-f [FILES [FILES ...]], --files [FILES [FILES ...]]
File(s) to ignore. (default: [])
Examples :
- Remove all .gitignore file(s)/folder(s) :
$ gitcln - Remove all .gitignore file(s)/folder(s) except specific directory(ies) :
$ gitcln -d __pycache__
- Remove all .gitignore file(s)/folder(s) except specific file(s) :
$ gitcln -f bytes.pyc
Tests 🧪
Only integration tests for gitcln module runs on the CI pipeline.
Roadmap 📈
- Add additional CLI option to skip .gitignore ignores by unique comment.
- Add .gitcln file to ignore file(s) folder(s) from scanning.
- Filter .gitignore by section name.
Copyright ©
👤 Hadi Zaki Alqattan
- Github: @hadizakialqattan
- Email: alqattanhadizaki@gmail.com
📝 License
Copyright © 2020 Hadi Zaki Alqattan.
This project is MIT licensed.
Give a ⭐️ if this project helped you!
Metadata
Release files for gitcln 20.4.4
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| gitcln-20.4.4.tar.gz | 5.7 kB | Without provenance | Details for gitcln-20.4.4.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| gitcln-20.4.4-py3-none-any.whl | Python 3 | none | any | Details for gitcln-20.4.4-py3-none-any.whl |
Total release size: 11.6 kB
Release files / gitcln-20.4.4.tar.gz
| Download URL | gitcln-20.4.4.tar.gz |
|---|---|
| Size | 5.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
dbcd010a05adef23c15bf86db808f999af85c19805204ac75b7d908cbf7245f9
|
|
BLAKE2b-256 checksum How to use checksums |
d3b252db40bd8f25b5aacef82ed4634f69f5cd22b60512e75e67fe0ab6ec9f72
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
|
Release files / gitcln-20.4.4-py3-none-any.whl
| Download URL | gitcln-20.4.4-py3-none-any.whl |
|---|---|
| Size | 5.9 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
7fe440408d6b7c6056958f9529ba605bf41a59318131db290dbaa195cd49e78d
|
|
BLAKE2b-256 checksum How to use checksums |
2354596e68cc99aa3c66563d537c2320441a2582aebc66864081b6210543a5dc
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.46.1 CPython/3.8.3
|
Security for gitcln 20.4.4
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.