Generate gitignore files based on templates provided by github
Project description
Command line tool that generates .gitignore files using github’s collection of gitignore templates.
Features
syncs with https://github.com/github/gitignore
You can specify a custom output file other than .gitignore
Merges contents of existing .gitignore
Install
pip install --upgrade genignore
Usage
Get help: genignore --help
Grab the latest https://github.com/github/gitignore master: genignore sync
List available templates: genignore list
Generate .gitignore for python, osx and linux: genignore gen python osx linux
Generate .gitignore for python, osx and linux, save it as .foo: genignore gen python osx linux --out=.foo
To add into an existing .gitignore, use genignore gen --add jetbrains
You can also redirect stdout genignore gen python osx linux > .foo
Bugs/Features
Open a github issue here.
Contributors
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
File details
Details for the file genignore-0.5.7.tar.gz
.
File metadata
- Download URL: genignore-0.5.7.tar.gz
- Upload date:
- Size: 8.1 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.8.0 pkginfo/1.8.2 readme-renderer/34.0 requests/2.27.1 requests-toolbelt/0.9.1 urllib3/1.26.9 tqdm/4.63.1 importlib-metadata/4.11.3 keyring/23.5.0 rfc3986/2.0.0 colorama/0.4.4 CPython/3.9.10
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 27f0b3605c41df6c27658b6bab144b38ea7ba06942fc17590038cb7d0a6b35c2 |
|
MD5 | 3c5731b147b264452a0e52e12dc3e264 |
|
BLAKE2b-256 | e46690ca3832e6b469d575324b7927a288d39430192d7ac4c58a9d50618374d1 |