generate-gitignore v0.2.6
Generate any local or global .gitignore file from the github/gitignore repository. Use from the command line when Generate's CLI is installed globally, or use as a plugin or sub-generator in your own generator.
generate-gitignore

Table of Contents
(TOC generated by verb using markdown-toc)
Quickstart
Install
Install generate and generate-gitignore:
$ npm install --global generate generate-gitignoreGenerate a .gitignore
Initiate a prompt to generate a .gitignore file in the current working directory:
$ gen gitignoreCustomization
Add a custom template with the same as the .gitignore template you want to use to the ~/templates directory on your system, and this generator will automatically use it.
For example, add a Node.gitignore template to override the .gitignore template that's used when $ gen gitignore:node is run.
What is "Generate"?
Generate is a command line tool and developer framework for scaffolding out new GitHub projects using generators and tasks.
Answers to prompts and the user's environment can be used to determine the templates, directories, files and contents to build. Support for gulp, base and assemble plugins, and much more.
For more information:
- Visit the generate project
- Visit the generate documentation
- Find generators on npm (help us author generators)
Getting started
Install
Installing the CLI
To run the gitignore generator from the command line, you'll need to install Generate globally first. You can do that now with the following command:
$ npm install --global generateThis adds the gen command to your system path, allowing it to be run from any directory.
Install generate-gitignore
Install this module with the following command:
$ npm install --global generate-gitignoreUsage
Run this generator's default task with the following command:
$ gen gitignoreWhat you should see in the terminal
If completed successfully, you should see both starting and finished events in the terminal, like the following:
[00:44:21] starting ...
...
[00:44:22] finished ✔If you do not see one or both of those events, please let us know about it.
Help
To see a general help menu and available commands for Generate's CLI, run:
$ gen helpFiles
All of the local and global .gitignore templates from github/gitignore are available.
Prompts
The following tasks will prompt you to choose the file to generate.
gitignore
Generate a .gitignore file to the current working directory.
Example
$ gen gitignoregitignore:global
Generate a global .gitignore file to global .git directory.
Example
$ gen gitignore:globalLocal gitignore
The following local .gitignore files are available.

gitignore:actionscript
Generate a .gitignore file for Actionscript to the current working directory.
Example
$ gen gitignore:actionscript
$ gen gitignore:actionscript --dest ./foogitignore:ada
Generate a .gitignore file for Ada to the current working directory.
Example
$ gen gitignore:ada
$ gen gitignore:ada --dest ./foogitignore:agda
Generate a .gitignore file for Agda to the current working directory.
Example
$ gen gitignore:agda
$ gen gitignore:agda --dest ./foogitignore:android
Generate a .gitignore file for Android to the current working directory.
Example
$ gen gitignore:android
$ gen gitignore:android --dest ./foogitignore:appengine
Generate a .gitignore file for AppEngine to the current working directory.
Example
$ gen gitignore:appengine
$ gen gitignore:appengine --dest ./foogitignore:appceleratortitanium
Generate a .gitignore file for AppceleratorTitanium to the current working directory.
Example
$ gen gitignore:appceleratortitanium
$ gen gitignore:appceleratortitanium --dest ./foogitignore:archlinuxpackages
Generate a .gitignore file for ArchLinuxPackages to the current working directory.
Example
$ gen gitignore:archlinuxpackages
$ gen gitignore:archlinuxpackages --dest ./foogitignore:autotools
Generate a .gitignore file for Autotools to the current working directory.
Example
$ gen gitignore:autotools
$ gen gitignore:autotools --dest ./foogitignore:c++
Generate a .gitignore file for C++ to the current working directory.
Example
$ gen gitignore:c++
$ gen gitignore:c++ --dest ./foogitignore:c
Generate a .gitignore file for C to the current working directory.
Example
$ gen gitignore:c
$ gen gitignore:c --dest ./foogitignore:cfwheels
Generate a .gitignore file for CFWheels to the current working directory.
Example
$ gen gitignore:cfwheels
$ gen gitignore:cfwheels --dest ./foogitignore:cmake
Generate a .gitignore file for CMake to the current working directory.
Example
$ gen gitignore:cmake
$ gen gitignore:cmake --dest ./foogitignore:cuda
Generate a .gitignore file for CUDA to the current working directory.
Example
$ gen gitignore:cuda
$ gen gitignore:cuda --dest ./foogitignore:cakephp
Generate a .gitignore file for CakePHP to the current working directory.
Example
$ gen gitignore:cakephp
$ gen gitignore:cakephp --dest ./foogitignore:chefcookbook
Generate a .gitignore file for ChefCookbook to the current working directory.
Example
$ gen gitignore:chefcookbook
$ gen gitignore:chefcookbook --dest ./foogitignore:clojure
Generate a .gitignore file for Clojure to the current working directory.
Example
$ gen gitignore:clojure
$ gen gitignore:clojure --dest ./foogitignore:codeigniter
Generate a .gitignore file for CodeIgniter to the current working directory.
Example
$ gen gitignore:codeigniter
$ gen gitignore:codeigniter --dest ./foogitignore:commonlisp
Generate a .gitignore file for CommonLisp to the current working directory.
Example
$ gen gitignore:commonlisp
$ gen gitignore:commonlisp --dest ./foogitignore:composer
Generate a .gitignore file for Composer to the current working directory.
Example
$ gen gitignore:composer
$ gen gitignore:composer --dest ./foogitignore:concrete5
Generate a .gitignore file for Concrete5 to the current working directory.
Example
$ gen gitignore:concrete5
$ gen gitignore:concrete5 --dest ./foogitignore:coq
Generate a .gitignore file for Coq to the current working directory.
Example
$ gen gitignore:coq
$ gen gitignore:coq --dest ./foogitignore:craftcms
Generate a .gitignore file for CraftCMS to the current working directory.
Example
$ gen gitignore:craftcms
$ gen gitignore:craftcms --dest ./foogitignore:d
Generate a .gitignore file for D to the current working directory.
Example
$ gen gitignore:d
$ gen gitignore:d --dest ./foogitignore:dm
Generate a .gitignore file for DM to the current working directory.
Example
$ gen gitignore:dm
$ gen gitignore:dm --dest ./foogitignore:dart
Generate a .gitignore file for Dart to the current working directory.
Example
$ gen gitignore:dart
$ gen gitignore:dart --dest ./foogitignore:delphi
Generate a .gitignore file for Delphi to the current working directory.
Example
$ gen gitignore:delphi
$ gen gitignore:delphi --dest ./foogitignore:drupal
Generate a .gitignore file for Drupal to the current working directory.
Example
$ gen gitignore:drupal
$ gen gitignore:drupal --dest ./foogitignore:episerver
Generate a .gitignore file for EPiServer to the current working directory.
Example
$ gen gitignore:episerver
$ gen gitignore:episerver --dest ./foogitignore:eagle
Generate a .gitignore file for Eagle to the current working directory.
Example
$ gen gitignore:eagle
$ gen gitignore:eagle --dest ./foogitignore:elisp
Generate a .gitignore file for Elisp to the current working directory.
Example
$ gen gitignore:elisp
$ gen gitignore:elisp --dest ./foogitignore:elixir
Generate a .gitignore file for Elixir to the current working directory.
Example
$ gen gitignore:elixir
$ gen gitignore:elixir --dest ./foogitignore:elm
Generate a .gitignore file for Elm to the current working directory.
Example
$ gen gitignore:elm
$ gen gitignore:elm --dest ./foogitignore:erlang
Generate a .gitignore file for Erlang to the current working directory.
Example
$ gen gitignore:erlang
$ gen gitignore:erlang --dest ./foogitignore:expressionengine
Generate a .gitignore file for ExpressionEngine to the current working directory.
Example
$ gen gitignore:expressionengine
$ gen gitignore:expressionengine --dest ./foogitignore:extjs
Generate a .gitignore file for ExtJs to the current working directory.
Example
$ gen gitignore:extjs
$ gen gitignore:extjs --dest ./foogitignore:fancy
Generate a .gitignore file for Fancy to the current working directory.
Example
$ gen gitignore:fancy
$ gen gitignore:fancy --dest ./foogitignore:finale
Generate a .gitignore file for Finale to the current working directory.
Example
$ gen gitignore:finale
$ gen gitignore:finale --dest ./foogitignore:forcedotcom
Generate a .gitignore file for ForceDotCom to the current working directory.
Example
$ gen gitignore:forcedotcom
$ gen gitignore:forcedotcom --dest ./foogitignore:fortran
Generate a .gitignore file for Fortran to the current working directory.
Example
$ gen gitignore:fortran
$ gen gitignore:fortran --dest ./foogitignore:fuelphp
Generate a .gitignore file for FuelPHP to the current working directory.
Example
$ gen gitignore:fuelphp
$ gen gitignore:fuelphp --dest ./foogitignore:gwt
Generate a .gitignore file for GWT to the current working directory.
Example
$ gen gitignore:gwt
$ gen gitignore:gwt --dest ./foogitignore:gcov
Generate a .gitignore file for Gcov to the current working directory.
Example
$ gen gitignore:gcov
$ gen gitignore:gcov --dest ./foogitignore:gitbook
Generate a .gitignore file for GitBook to the current working directory.
Example
$ gen gitignore:gitbook
$ gen gitignore:gitbook --dest ./foogitignore:go
Generate a .gitignore file for Go to the current working directory.
Example
$ gen gitignore:go
$ gen gitignore:go --dest ./foogitignore:gradle
Generate a .gitignore file for Gradle to the current working directory.
Example
$ gen gitignore:gradle
$ gen gitignore:gradle --dest ./foogitignore:grails
Generate a .gitignore file for Grails to the current working directory.
Example
$ gen gitignore:grails
$ gen gitignore:grails --dest ./foogitignore:haskell
Generate a .gitignore file for Haskell to the current working directory.
Example
$ gen gitignore:haskell
$ gen gitignore:haskell --dest ./foogitignore:igorpro
Generate a .gitignore file for IGORPro to the current working directory.
Example
$ gen gitignore:igorpro
$ gen gitignore:igorpro --dest ./foogitignore:idris
Generate a .gitignore file for Idris to the current working directory.
Example
$ gen gitignore:idris
$ gen gitignore:idris --dest ./foogitignore:java
Generate a .gitignore file for Java to the current working directory.
Example
$ gen gitignore:java
$ gen gitignore:java --dest ./foogitignore:jboss
Generate a .gitignore file for Jboss to the current working directory.
Example
$ gen gitignore:jboss
$ gen gitignore:jboss --dest ./foogitignore:jekyll
Generate a .gitignore file for Jekyll to the current working directory.
Example
$ gen gitignore:jekyll
$ gen gitignore:jekyll --dest ./foogitignore:joomla
Generate a .gitignore file for Joomla to the current working directory.
Example
$ gen gitignore:joomla
$ gen gitignore:joomla --dest ./foogitignore:julia
Generate a .gitignore file for Julia to the current working directory.
Example
$ gen gitignore:julia
$ gen gitignore:julia --dest ./foogitignore:kicad
Generate a .gitignore file for KiCad to the current working directory.
Example
$ gen gitignore:kicad
$ gen gitignore:kicad --dest ./foogitignore:kohana
Generate a .gitignore file for Kohana to the current working directory.
Example
$ gen gitignore:kohana
$ gen gitignore:kohana --dest ./foogitignore:labview
Generate a .gitignore file for LabVIEW to the current working directory.
Example
$ gen gitignore:labview
$ gen gitignore:labview --dest ./foogitignore:laravel
Generate a .gitignore file for Laravel to the current working directory.
Example
$ gen gitignore:laravel
$ gen gitignore:laravel --dest ./foogitignore:leiningen
Generate a .gitignore file for Leiningen to the current working directory.
Example
$ gen gitignore:leiningen
$ gen gitignore:leiningen --dest ./foogitignore:lemonstand
Generate a .gitignore file for LemonStand to the current working directory.
Example
$ gen gitignore:lemonstand
$ gen gitignore:lemonstand --dest ./foogitignore:lilypond
Generate a .gitignore file for Lilypond to the current working directory.
Example
$ gen gitignore:lilypond
$ gen gitignore:lilypond --dest ./foogitignore:lithium
Generate a .gitignore file for Lithium to the current working directory.
Example
$ gen gitignore:lithium
$ gen gitignore:lithium --dest ./foogitignore:lua
Generate a .gitignore file for Lua to the current working directory.
Example
$ gen gitignore:lua
$ gen gitignore:lua --dest ./foogitignore:magento
Generate a .gitignore file for Magento to the current working directory.
Example
$ gen gitignore:magento
$ gen gitignore:magento --dest ./foogitignore:maven
Generate a .gitignore file for Maven to the current working directory.
Example
$ gen gitignore:maven
$ gen gitignore:maven --dest ./foogitignore:mercury
Generate a .gitignore file for Mercury to the current working directory.
Example
$ gen gitignore:mercury
$ gen gitignore:mercury --dest ./foogitignore:metaprogrammingsystem
Generate a .gitignore file for MetaProgrammingSystem to the current working directory.
Example
$ gen gitignore:metaprogrammingsystem
$ gen gitignore:metaprogrammingsystem --dest ./foogitignore:minimal
Generate a .gitignore file for Minimal to the current working directory.
Example
$ gen gitignore:minimal
$ gen gitignore:minimal --dest ./foogitignore:nanoc
Generate a .gitignore file for Nanoc to the current working directory.
Example
$ gen gitignore:nanoc
$ gen gitignore:nanoc --dest ./foogitignore:nim
Generate a .gitignore file for Nim to the current working directory.
Example
$ gen gitignore:nim
$ gen gitignore:nim --dest ./foogitignore:node
Generate a .gitignore file for Node to the current working directory.
Example
$ gen gitignore:node
$ gen gitignore:node --dest ./foogitignore:ocaml
Generate a .gitignore file for OCaml to the current working directory.
Example
$ gen gitignore:ocaml
$ gen gitignore:ocaml --dest ./foogitignore:objective-c
Generate a .gitignore file for Objective-C to the current working directory.
Example
$ gen gitignore:objective-c
$ gen gitignore:objective-c --dest ./foogitignore:opa
Generate a .gitignore file for Opa to the current working directory.
Example
$ gen gitignore:opa
$ gen gitignore:opa --dest ./foogitignore:opencart
Generate a .gitignore file for OpenCart to the current working directory.
Example
$ gen gitignore:opencart
$ gen gitignore:opencart --dest ./foogitignore:oracleforms
Generate a .gitignore file for OracleForms to the current working directory.
Example
$ gen gitignore:oracleforms
$ gen gitignore:oracleforms --dest ./foogitignore:packer
Generate a .gitignore file for Packer to the current working directory.
Example
$ gen gitignore:packer
$ gen gitignore:packer --dest ./foogitignore:perl
Generate a .gitignore file for Perl to the current working directory.
Example
$ gen gitignore:perl
$ gen gitignore:perl --dest ./foogitignore:phalcon
Generate a .gitignore file for Phalcon to the current working directory.
Example
$ gen gitignore:phalcon
$ gen gitignore:phalcon --dest ./foogitignore:playframework
Generate a .gitignore file for PlayFramework to the current working directory.
Example
$ gen gitignore:playframework
$ gen gitignore:playframework --dest ./foogitignore:plone
Generate a .gitignore file for Plone to the current working directory.
Example
$ gen gitignore:plone
$ gen gitignore:plone --dest ./foogitignore:prestashop
Generate a .gitignore file for Prestashop to the current working directory.
Example
$ gen gitignore:prestashop
$ gen gitignore:prestashop --dest ./foogitignore:processing
Generate a .gitignore file for Processing to the current working directory.
Example
$ gen gitignore:processing
$ gen gitignore:processing --dest ./foogitignore:python
Generate a .gitignore file for Python to the current working directory.
Example
$ gen gitignore:python
$ gen gitignore:python --dest ./foogitignore:qooxdoo
Generate a .gitignore file for Qooxdoo to the current working directory.
Example
$ gen gitignore:qooxdoo
$ gen gitignore:qooxdoo --dest ./foogitignore:qt
Generate a .gitignore file for Qt to the current working directory.
Example
$ gen gitignore:qt
$ gen gitignore:qt --dest ./foogitignore:r
Generate a .gitignore file for R to the current working directory.
Example
$ gen gitignore:r
$ gen gitignore:r --dest ./foogitignore:ros
Generate a .gitignore file for ROS to the current working directory.
Example
$ gen gitignore:ros
$ gen gitignore:ros --dest ./foogitignore:rails
Generate a .gitignore file for Rails to the current working directory.
Example
$ gen gitignore:rails
$ gen gitignore:rails --dest ./foogitignore:rhodesrhomobile
Generate a .gitignore file for RhodesRhomobile to the current working directory.
Example
$ gen gitignore:rhodesrhomobile
$ gen gitignore:rhodesrhomobile --dest ./foogitignore:ruby
Generate a .gitignore file for Ruby to the current working directory.
Example
$ gen gitignore:ruby
$ gen gitignore:ruby --dest ./foogitignore:rust
Generate a .gitignore file for Rust to the current working directory.
Example
$ gen gitignore:rust
$ gen gitignore:rust --dest ./foogitignore:scons
Generate a .gitignore file for SCons to the current working directory.
Example
$ gen gitignore:scons
$ gen gitignore:scons --dest ./foogitignore:sass
Generate a .gitignore file for Sass to the current working directory.
Example
$ gen gitignore:sass
$ gen gitignore:sass --dest ./foogitignore:scala
Generate a .gitignore file for Scala to the current working directory.
Example
$ gen gitignore:scala
$ gen gitignore:scala --dest ./foogitignore:scheme
Generate a .gitignore file for Scheme to the current working directory.
Example
$ gen gitignore:scheme
$ gen gitignore:scheme --dest ./foogitignore:scrivener
Generate a .gitignore file for Scrivener to the current working directory.
Example
$ gen gitignore:scrivener
$ gen gitignore:scrivener --dest ./foogitignore:sdcc
Generate a .gitignore file for Sdcc to the current working directory.
Example
$ gen gitignore:sdcc
$ gen gitignore:sdcc --dest ./foogitignore:seamgen
Generate a .gitignore file for SeamGen to the current working directory.
Example
$ gen gitignore:seamgen
$ gen gitignore:seamgen --dest ./foogitignore:sketchup
Generate a .gitignore file for SketchUp to the current working directory.
Example
$ gen gitignore:sketchup
$ gen gitignore:sketchup --dest ./foogitignore:smalltalk
Generate a .gitignore file for Smalltalk to the current working directory.
Example
$ gen gitignore:smalltalk
$ gen gitignore:smalltalk --dest ./foogitignore:stella
Generate a .gitignore file for Stella to the current working directory.
Example
$ gen gitignore:stella
$ gen gitignore:stella --dest ./foogitignore:sugarcrm
Generate a .gitignore file for SugarCRM to the current working directory.
Example
$ gen gitignore:sugarcrm
$ gen gitignore:sugarcrm --dest ./foogitignore:swift
Generate a .gitignore file for Swift to the current working directory.
Example
$ gen gitignore:swift
$ gen gitignore:swift --dest ./foogitignore:symfony
Generate a .gitignore file for Symfony to the current working directory.
Example
$ gen gitignore:symfony
$ gen gitignore:symfony --dest ./foogitignore:symphonycms
Generate a .gitignore file for SymphonyCMS to the current working directory.
Example
$ gen gitignore:symphonycms
$ gen gitignore:symphonycms --dest ./foogitignore:tex
Generate a .gitignore file for TeX to the current working directory.
Example
$ gen gitignore:tex
$ gen gitignore:tex --dest ./foogitignore:terraform
Generate a .gitignore file for Terraform to the current working directory.
Example
$ gen gitignore:terraform
$ gen gitignore:terraform --dest ./foogitignore:textpattern
Generate a .gitignore file for Textpattern to the current working directory.
Example
$ gen gitignore:textpattern
$ gen gitignore:textpattern --dest ./foogitignore:turbogears2
Generate a .gitignore file for TurboGears2 to the current working directory.
Example
$ gen gitignore:turbogears2
$ gen gitignore:turbogears2 --dest ./foogitignore:typo3
Generate a .gitignore file for Typo3 to the current working directory.
Example
$ gen gitignore:typo3
$ gen gitignore:typo3 --dest ./foogitignore:umbraco
Generate a .gitignore file for Umbraco to the current working directory.
Example
$ gen gitignore:umbraco
$ gen gitignore:umbraco --dest ./foogitignore:unity
Generate a .gitignore file for Unity to the current working directory.
Example
$ gen gitignore:unity
$ gen gitignore:unity --dest ./foogitignore:unrealengine
Generate a .gitignore file for UnrealEngine to the current working directory.
Example
$ gen gitignore:unrealengine
$ gen gitignore:unrealengine --dest ./foogitignore:vvvv
Generate a .gitignore file for VVVV to the current working directory.
Example
$ gen gitignore:vvvv
$ gen gitignore:vvvv --dest ./foogitignore:visualstudio
Generate a .gitignore file for VisualStudio to the current working directory.
Example
$ gen gitignore:visualstudio
$ gen gitignore:visualstudio --dest ./foogitignore:waf
Generate a .gitignore file for Waf to the current working directory.
Example
$ gen gitignore:waf
$ gen gitignore:waf --dest ./foogitignore:wordpress
Generate a .gitignore file for WordPress to the current working directory.
Example
$ gen gitignore:wordpress
$ gen gitignore:wordpress --dest ./foogitignore:xojo
Generate a .gitignore file for Xojo to the current working directory.
Example
$ gen gitignore:xojo
$ gen gitignore:xojo --dest ./foogitignore:yeoman
Generate a .gitignore file for Yeoman to the current working directory.
Example
$ gen gitignore:yeoman
$ gen gitignore:yeoman --dest ./foogitignore:yii
Generate a .gitignore file for Yii to the current working directory.
Example
$ gen gitignore:yii
$ gen gitignore:yii --dest ./foogitignore:zendframework
Generate a .gitignore file for ZendFramework to the current working directory.
Example
$ gen gitignore:zendframework
$ gen gitignore:zendframework --dest ./foogitignore:zephir
Generate a .gitignore file for Zephir to the current working directory.
Example
$ gen gitignore:zephir
$ gen gitignore:zephir --dest ./fooGlobal gitignore
To use a global .gitignore file, you'll need to first set the core.excludesFile configuration value to point to the .gitignore file you want to use.
You can do this now with the following command:
$ git config --global core.excludesfile '~/.gitignore'Otherwise all global gitignore files are saved to ~/.gitignore.
Available files
The following global .gitignore files are available.
gitignore:global:anjuta
Generate a .gitignore file for Anjuta to the current working directory.
Example
$ gen gitignore.global:anjuta
$ gen gitignore.global:anjuta --dest ./foogitignore:global:archives
Generate a .gitignore file for Archives to the current working directory.
Example
$ gen gitignore.global:archives
$ gen gitignore.global:archives --dest ./foogitignore:global:bazaar
Generate a .gitignore file for Bazaar to the current working directory.
Example
$ gen gitignore.global:bazaar
$ gen gitignore.global:bazaar --dest ./foogitignore:global:bricxcc
Generate a .gitignore file for BricxCC to the current working directory.
Example
$ gen gitignore.global:bricxcc
$ gen gitignore.global:bricxcc --dest ./foogitignore:global:cvs
Generate a .gitignore file for CVS to the current working directory.
Example
$ gen gitignore.global:cvs
$ gen gitignore.global:cvs --dest ./foogitignore:global:calabash
Generate a .gitignore file for Calabash to the current working directory.
Example
$ gen gitignore.global:calabash
$ gen gitignore.global:calabash --dest ./foogitignore:global:cloud9
Generate a .gitignore file for Cloud9 to the current working directory.
Example
$ gen gitignore.global:cloud9
$ gen gitignore.global:cloud9 --dest ./foogitignore:global:codekit
Generate a .gitignore file for CodeKit to the current working directory.
Example
$ gen gitignore.global:codekit
$ gen gitignore.global:codekit --dest ./foogitignore:global:darteditor
Generate a .gitignore file for DartEditor to the current working directory.
Example
$ gen gitignore.global:darteditor
$ gen gitignore.global:darteditor --dest ./foogitignore:global:dreamweaver
Generate a .gitignore file for Dreamweaver to the current working directory.
Example
$ gen gitignore.global:dreamweaver
$ gen gitignore.global:dreamweaver --dest ./foogitignore:global:dropbox
Generate a .gitignore file for Dropbox to the current working directory.
Example
$ gen gitignore.global:dropbox
$ gen gitignore.global:dropbox --dest ./foogitignore:global:eclipse
Generate a .gitignore file for Eclipse to the current working directory.
Example
$ gen gitignore.global:eclipse
$ gen gitignore.global:eclipse --dest ./foogitignore:global:eiffelstudio
Generate a .gitignore file for EiffelStudio to the current working directory.
Example
$ gen gitignore.global:eiffelstudio
$ gen gitignore.global:eiffelstudio --dest ./foogitignore:global:emacs
Generate a .gitignore file for Emacs to the current working directory.
Example
$ gen gitignore.global:emacs
$ gen gitignore.global:emacs --dest ./foogitignore:global:ensime
Generate a .gitignore file for Ensime to the current working directory.
Example
$ gen gitignore.global:ensime
$ gen gitignore.global:ensime --dest ./foogitignore:global:espresso
Generate a .gitignore file for Espresso to the current working directory.
Example
$ gen gitignore.global:espresso
$ gen gitignore.global:espresso --dest ./foogitignore:global:flexbuilder
Generate a .gitignore file for FlexBuilder to the current working directory.
Example
$ gen gitignore.global:flexbuilder
$ gen gitignore.global:flexbuilder --dest ./foogitignore:global:gpg
Generate a .gitignore file for GPG to the current working directory.
Example
$ gen gitignore.global:gpg
$ gen gitignore.global:gpg --dest ./foogitignore:global:ipythonnotebook
Generate a .gitignore file for IPythonNotebook to the current working directory.
Example
$ gen gitignore.global:ipythonnotebook
$ gen gitignore.global:ipythonnotebook --dest ./foogitignore:global:jdeveloper
Generate a .gitignore file for JDeveloper to the current working directory.
Example
$ gen gitignore.global:jdeveloper
$ gen gitignore.global:jdeveloper --dest ./foogitignore:global:jetbrains
Generate a .gitignore file for JetBrains to the current working directory.
Example
$ gen gitignore.global:jetbrains
$ gen gitignore.global:jetbrains --dest ./foogitignore:global:kdevelop4
Generate a .gitignore file for KDevelop4 to the current working directory.
Example
$ gen gitignore.global:kdevelop4
$ gen gitignore.global:kdevelop4 --dest ./foogitignore:global:kate
Generate a .gitignore file for Kate to the current working directory.
Example
$ gen gitignore.global:kate
$ gen gitignore.global:kate --dest ./foogitignore:global:lazarus
Generate a .gitignore file for Lazarus to the current working directory.
Example
$ gen gitignore.global:lazarus
$ gen gitignore.global:lazarus --dest ./foogitignore:global:libreoffice
Generate a .gitignore file for LibreOffice to the current working directory.
Example
$ gen gitignore.global:libreoffice
$ gen gitignore.global:libreoffice --dest ./foogitignore:global:linux
Generate a .gitignore file for Linux to the current working directory.
Example
$ gen gitignore.global:linux
$ gen gitignore.global:linux --dest ./foogitignore:global:lyx
Generate a .gitignore file for LyX to the current working directory.
Example
$ gen gitignore.global:lyx
$ gen gitignore.global:lyx --dest ./foogitignore:global:matlab
Generate a .gitignore file for Matlab to the current working directory.
Example
$ gen gitignore.global:matlab
$ gen gitignore.global:matlab --dest ./foogitignore:global:mercurial
Generate a .gitignore file for Mercurial to the current working directory.
Example
$ gen gitignore.global:mercurial
$ gen gitignore.global:mercurial --dest ./foogitignore:global:microsoftoffice
Generate a .gitignore file for MicrosoftOffice to the current working directory.
Example
$ gen gitignore.global:microsoftoffice
$ gen gitignore.global:microsoftoffice --dest ./foogitignore:global:modelsim
Generate a .gitignore file for ModelSim to the current working directory.
Example
$ gen gitignore.global:modelsim
$ gen gitignore.global:modelsim --dest ./foogitignore:global:momentics
Generate a .gitignore file for Momentics to the current working directory.
Example
$ gen gitignore.global:momentics
$ gen gitignore.global:momentics --dest ./foogitignore:global:monodevelop
Generate a .gitignore file for MonoDevelop to the current working directory.
Example
$ gen gitignore.global:monodevelop
$ gen gitignore.global:monodevelop --dest ./foogitignore:global:netbeans
Generate a .gitignore file for NetBeans to the current working directory.
Example
$ gen gitignore.global:netbeans
$ gen gitignore.global:netbeans --dest ./foogitignore:global:ninja
Generate a .gitignore file for Ninja to the current working directory.
Example
$ gen gitignore.global:ninja
$ gen gitignore.global:ninja --dest ./foogitignore:global:notepadpp
Generate a .gitignore file for NotepadPP to the current working directory.
Example
$ gen gitignore.global:notepadpp
$ gen gitignore.global:notepadpp --dest ./foogitignore:global:osx
Generate a .gitignore file for OSX to the current working directory.
Example
$ gen gitignore.global:osx
$ gen gitignore.global:osx --dest ./foogitignore:global:otto
Generate a .gitignore file for Otto to the current working directory.
Example
$ gen gitignore.global:otto
$ gen gitignore.global:otto --dest ./foogitignore:global:redcar
Generate a .gitignore file for Redcar to the current working directory.
Example
$ gen gitignore.global:redcar
$ gen gitignore.global:redcar --dest ./foogitignore:global:redis
Generate a .gitignore file for Redis to the current working directory.
Example
$ gen gitignore.global:redis
$ gen gitignore.global:redis --dest ./foogitignore:global:sbt
Generate a .gitignore file for SBT to the current working directory.
Example
$ gen gitignore.global:sbt
$ gen gitignore.global:sbt --dest ./foogitignore:global:svn
Generate a .gitignore file for SVN to the current working directory.
Example
$ gen gitignore.global:svn
$ gen gitignore.global:svn --dest ./foogitignore:global:slickedit
Generate a .gitignore file for SlickEdit to the current working directory.
Example
$ gen gitignore.global:slickedit
$ gen gitignore.global:slickedit --dest ./foogitignore:global:sublimetext
Generate a .gitignore file for SublimeText to the current working directory.
Example
$ gen gitignore.global:sublimetext
$ gen gitignore.global:sublimetext --dest ./foogitignore:global:synopsysvcs
Generate a .gitignore file for SynopsysVCS to the current working directory.
Example
$ gen gitignore.global:synopsysvcs
$ gen gitignore.global:synopsysvcs --dest ./foogitignore:global:tags
Generate a .gitignore file for Tags to the current working directory.
Example
$ gen gitignore.global:tags
$ gen gitignore.global:tags --dest ./foogitignore:global:textmate
Generate a .gitignore file for TextMate to the current working directory.
Example
$ gen gitignore.global:textmate
$ gen gitignore.global:textmate --dest ./foogitignore:global:tortoisegit
Generate a .gitignore file for TortoiseGit to the current working directory.
Example
$ gen gitignore.global:tortoisegit
$ gen gitignore.global:tortoisegit --dest ./foogitignore:global:vagrant
Generate a .gitignore file for Vagrant to the current working directory.
Example
$ gen gitignore.global:vagrant
$ gen gitignore.global:vagrant --dest ./foogitignore:global:vim
Generate a .gitignore file for Vim to the current working directory.
Example
$ gen gitignore.global:vim
$ gen gitignore.global:vim --dest ./foogitignore:global:virtualenv
Generate a .gitignore file for VirtualEnv to the current working directory.
Example
$ gen gitignore.global:virtualenv
$ gen gitignore.global:virtualenv --dest ./foogitignore:global:visualstudiocode
Generate a .gitignore file for VisualStudioCode to the current working directory.
Example
$ gen gitignore.global:visualstudiocode
$ gen gitignore.global:visualstudiocode --dest ./foogitignore:global:webmethods
Generate a .gitignore file for WebMethods to the current working directory.
Example
$ gen gitignore.global:webmethods
$ gen gitignore.global:webmethods --dest ./foogitignore:global:windows
Generate a .gitignore file for Windows to the current working directory.
Example
$ gen gitignore.global:windows
$ gen gitignore.global:windows --dest ./foogitignore:global:xcode
Generate a .gitignore file for Xcode to the current working directory.
Example
$ gen gitignore.global:xcode
$ gen gitignore.global:xcode --dest ./foogitignore:global:xilinxise
Generate a .gitignore file for XilinxISE to the current working directory.
Example
$ gen gitignore.global:xilinxise
$ gen gitignore.global:xilinxise --dest ./fooResources
Next steps
Running unit tests
It's never too early to begin running unit tests. When you're ready to get started, the following command will ensure the project's dependencies are installed then run all of the unit tests:
$ npm install && testPublishing your generator
If you're tests are passing and you're ready to publish your generator to npm, you can do that now with the following command:
Are you sure you're ready?!
Let's go!
$ npm publishAbout
Related projects
- generate-eslint: Generate a new
.eslintrc.jsonor.eslintignorefile from a pre-defined or user-defined template. Can be… more | homepage - generate-git: Generator for initializing a git repository and adding first commit. | homepage
- generate-gitattributes: Generate a .gitattributes file from the command line when Generate's CLI is installed globally, or… more | homepage
- generate-project: Scaffold out complete code projects from the command line, or use this generator as a… more | homepage
Community
Are you using Generate in your project? Have you published a generator and want to share your project with the world?
Here are some suggestions!
- If you get like Generate and want to tweet about it, please feel free to mention
@generatejsor use the#generatejshashtag - Show your love by starring Generate and
generate-gitignore - Get implementation help on StackOverflow (please use the
generatejstag in questions) - Gitter Discuss Generate with us on Gitter
- If you publish an generator, thank you! To make your project as discoverable as possible, please add the keyword
generategeneratorto package.json.
Contributing
Pull requests and stars are always welcome. For bugs and feature requests, please create an issue.
Running tests
Install dev dependencies:
$ npm install -d && npm testRelease history
This project follows keep-a-changelog conventions for tracking release history.
key
Changelog entries are categorized using the following labels:
added: for new featureschanged: for changes in existing functionalitydeprecated: for once-stable features removed in upcoming releasesremoved: for deprecated features removed in this releasefixed: for any bug fixes
0.2.0
Added
- Adds all
.gitignoretemplates from https://github.com/github/gitignore
Author
Jon Schlinkert
License
Copyright © 2016, Jon Schlinkert. Released under the MIT license.
This file was generated by verb-generate-readme, v0.1.30, on September 09, 2016.