Skip to content

czheo/gitignorepy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gitignorepy

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

Install

pip install gitignorepy

Usage

fetch macos gitignore file and store it

$ gg fetch macos >> ~/.gitignore

fetch gitignore file for rust

$ 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

list all available gitignore files

$ gg list
- Actionscript
- Ada
- Agda
- Android
...
- WordPress
- Xcode
- XilinxISE
- Xojo
- Yeoman
- Yii
- ZendFramework
- Zephir
- macOS
Found 182 templates.

fuzzy search gitignore files containing "ru"

$ gg list ru
- Drupal
- Lazarus
- Ruby
- Rust
Found 4 templates.

About

fetch gitignore file from Github.com

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages