gitignorepy

fetch gitignore files from github


Keywords
git, github, gitignore
License
MIT
Install
pip install gitignorepy==0.3.0

Documentation

gitignorepy

fetch gitignore file from https://github.com/github/gitignore

Install

pip install gitignorepy

Usage

$ gg fetch macos >> ~/.gitignore
$ gg fetch rust
# Generated by Cargo
# will have compiled files and executables
/target/

# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries
# More information here http://doc.crates.io/guide.html#cargotoml-vs-cargolock
Cargo.lock

# These are backup files generated by rustfmt
**/*.rs.bk
$ gg list
- Actionscript
- Ada
- Agda
- Android
...
- WordPress
- Xcode
- XilinxISE
- Xojo
- Yeoman
- Yii
- ZendFramework
- Zephir
- macOS
Found 182 templates.
$ gg list ru
- Drupal
- Lazarus
- Ruby
- Rust
Found 4 templates.