Skip to main content

Git ignore template helper

Project description

Git-ignore ===

A cli helper that initiates `.gitignore` from template. | [日本語記事](http://qiugits.hatenablog.com/entry/2018/09/20/024218)

## Install `terminal $ pip install git-ignore `

## Usage Example: Django project that uses Python and Sass. ` $ git-ignore python sass ` This will create a .gitignore file that comes from both Python and Sass gitignore templates.

Note that you can add multiple templates at once. Also, it is _not_ case sensitive.

## How it works This tool uses templates from [A collection of .gitignore templates | by GitHub](https://github.com/github/gitignore/).

Thus it supports: > Perl6, Sass, Scala, Joomla, CakePHP, Go, Yeoman, ZendFramework, KiCad, Textpattern, ExpressionEngine, Typo3, Packer, Elisp, EPiServer, Gcov, Haskell, GWT, LabVIEW, C++, Objective-C, Composer, SketchUp, Eagle, Android, Symfony, ExtJs, Erlang, Finale, Sdcc, Scrivener, Qooxdoo, RhodesRhomobile, PlayFramework, Stella, SugarCRM, Delphi, TurboGears2, Waf, Leiningen, Dart, R, ChefCookbook, MetaProgrammingSystem, CFWheels, Lilypond, Processing, Kohana, Clojure, GitBook, Lithium, Magento, Node, Python, Nim, Terraform, Yii, Nanoc, Umbraco, DM, Java, Elixir, WordPress, Godot, Xojo, ArchLinuxPackages, Jekyll, Ada, D, Elm, Actionscript, Swift, Grails, Laravel, Perl, CMake, VVVV, VisualStudio, CraftCMS, Coq, Rust, Scheme, IGORPro, Drupal, Plone, AppEngine, Mercury, Jboss, Lua, PureScript, CUDA, AppceleratorTitanium, Concrete5, CodeIgniter, Fortran, Julia, ForceDotCom, OracleForms, Smalltalk, Rails, Phalcon, Prestashop, Agda, Unity, FuelPHP, LemonStand, SeamGen, SCons, SymphonyCMS, CommonLisp, Gradle, Maven, Ruby, OpenCart, Fancy, TeX, Zephir, OCaml, UnrealEngine, Autotools, C, Kotlin, Qt, ROS, Idris, Opa

## Features & TODOs - [x] Add .gitignore from templates. - [x] Can add multiple templates at once. - [x] Based on GitHub’s templates collection. - [ ] Support “Global (operating system or editor specific) templates”. - [ ] Helpful –help option. - [ ] User defined template. - [ ] Detect git base directry to place .gitignore. - [ ] Autofill suggestion.

## Contributing Please feel free to open an issue or PR.

A star will be appreciated. ☆ ヽ(^ω^ #)

## License MIT

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

git-ignore-0.2.2.tar.gz (30.2 kB view hashes)

Uploaded Source

Built Distribution

git_ignore-0.2.2-py3-none-any.whl (57.2 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page