generate-gitignore
generate-gitignore copied to clipboard
Generate a .gitignore file from the command line when Generate's CLI is installed globally, or use as a plugin or sub-generator in your own generator.
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
- Quickstart
- Files
- Prompts
- Local gitignore
- Global gitignore
- Resources
- What is "Generate"?
- Getting started
- Install
- Usage
- Help
- About
- Related projects
- Community
- Contributing
- Running tests
- Release history
- Author
- License
(TOC generated by verb using markdown-toc)
Quickstart
Install
Install generate and generate-gitignore:
$ npm install --global generate generate-gitignore
Generate a .gitignore
Initiate a prompt to generate a .gitignore file in the current working directory:
$ gen gitignore
Customization
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 generate
This 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-gitignore
Usage
Run this generator's default task with the following command:
$ gen gitignore
What 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 help
Files
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 gitignore
gitignore:global
Generate a global .gitignore file to global .git directory.
Example
$ gen gitignore:global
Local 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 ./foo
gitignore:ada
Generate a .gitignore file for Ada to the current working directory.
Example
$ gen gitignore:ada
$ gen gitignore:ada --dest ./foo
gitignore:agda
Generate a .gitignore file for Agda to the current working directory.
Example
$ gen gitignore:agda
$ gen gitignore:agda --dest ./foo
gitignore:android
Generate a .gitignore file for Android to the current working directory.
Example
$ gen gitignore:android
$ gen gitignore:android --dest ./foo
gitignore:appengine
Generate a .gitignore file for AppEngine to the current working directory.
Example
$ gen gitignore:appengine
$ gen gitignore:appengine --dest ./foo
gitignore:appceleratortitanium
Generate a .gitignore file for AppceleratorTitanium to the current working directory.
Example
$ gen gitignore:appceleratortitanium
$ gen gitignore:appceleratortitanium --dest ./foo
gitignore:archlinuxpackages
Generate a .gitignore file for ArchLinuxPackages to the current working directory.
Example
$ gen gitignore:archlinuxpackages
$ gen gitignore:archlinuxpackages --dest ./foo
gitignore:autotools
Generate a .gitignore file for Autotools to the current working directory.
Example
$ gen gitignore:autotools
$ gen gitignore:autotools --dest ./foo
gitignore:c++
Generate a .gitignore file for C++ to the current working directory.
Example
$ gen gitignore:c++
$ gen gitignore:c++ --dest ./foo
gitignore:c
Generate a .gitignore file for C to the current working directory.
Example
$ gen gitignore:c
$ gen gitignore:c --dest ./foo
gitignore:cfwheels
Generate a .gitignore file for CFWheels to the current working directory.
Example
$ gen gitignore:cfwheels
$ gen gitignore:cfwheels --dest ./foo
gitignore:cmake
Generate a .gitignore file for CMake to the current working directory.
Example
$ gen gitignore:cmake
$ gen gitignore:cmake --dest ./foo
gitignore:cuda
Generate a .gitignore file for CUDA to the current working directory.
Example
$ gen gitignore:cuda
$ gen gitignore:cuda --dest ./foo
gitignore:cakephp
Generate a .gitignore file for CakePHP to the current working directory.
Example
$ gen gitignore:cakephp
$ gen gitignore:cakephp --dest ./foo
gitignore:chefcookbook
Generate a .gitignore file for ChefCookbook to the current working directory.
Example
$ gen gitignore:chefcookbook
$ gen gitignore:chefcookbook --dest ./foo
gitignore:clojure
Generate a .gitignore file for Clojure to the current working directory.
Example
$ gen gitignore:clojure
$ gen gitignore:clojure --dest ./foo
gitignore:codeigniter
Generate a .gitignore file for CodeIgniter to the current working directory.
Example
$ gen gitignore:codeigniter
$ gen gitignore:codeigniter --dest ./foo
gitignore:commonlisp
Generate a .gitignore file for CommonLisp to the current working directory.
Example
$ gen gitignore:commonlisp
$ gen gitignore:commonlisp --dest ./foo
gitignore:composer
Generate a .gitignore file for Composer to the current working directory.
Example
$ gen gitignore:composer
$ gen gitignore:composer --dest ./foo
gitignore:concrete5
Generate a .gitignore file for Concrete5 to the current working directory.
Example
$ gen gitignore:concrete5
$ gen gitignore:concrete5 --dest ./foo
gitignore:coq
Generate a .gitignore file for Coq to the current working directory.
Example
$ gen gitignore:coq
$ gen gitignore:coq --dest ./foo
gitignore:craftcms
Generate a .gitignore file for CraftCMS to the current working directory.
Example
$ gen gitignore:craftcms
$ gen gitignore:craftcms --dest ./foo
gitignore:d
Generate a .gitignore file for D to the current working directory.
Example
$ gen gitignore:d
$ gen gitignore:d --dest ./foo
gitignore:dm
Generate a .gitignore file for DM to the current working directory.
Example
$ gen gitignore:dm
$ gen gitignore:dm --dest ./foo
gitignore:dart
Generate a .gitignore file for Dart to the current working directory.
Example
$ gen gitignore:dart
$ gen gitignore:dart --dest ./foo
gitignore:delphi
Generate a .gitignore file for Delphi to the current working directory.
Example
$ gen gitignore:delphi
$ gen gitignore:delphi --dest ./foo
gitignore:drupal
Generate a .gitignore file for Drupal to the current working directory.
Example
$ gen gitignore:drupal
$ gen gitignore:drupal --dest ./foo
gitignore:episerver
Generate a .gitignore file for EPiServer to the current working directory.
Example
$ gen gitignore:episerver
$ gen gitignore:episerver --dest ./foo
gitignore:eagle
Generate a .gitignore file for Eagle to the current working directory.
Example
$ gen gitignore:eagle
$ gen gitignore:eagle --dest ./foo
gitignore:elisp
Generate a .gitignore file for Elisp to the current working directory.
Example
$ gen gitignore:elisp
$ gen gitignore:elisp --dest ./foo
gitignore:elixir
Generate a .gitignore file for Elixir to the current working directory.
Example
$ gen gitignore:elixir
$ gen gitignore:elixir --dest ./foo
gitignore:elm
Generate a .gitignore file for Elm to the current working directory.
Example
$ gen gitignore:elm
$ gen gitignore:elm --dest ./foo
gitignore:erlang
Generate a .gitignore file for Erlang to the current working directory.
Example
$ gen gitignore:erlang
$ gen gitignore:erlang --dest ./foo
gitignore:expressionengine
Generate a .gitignore file for ExpressionEngine to the current working directory.
Example
$ gen gitignore:expressionengine
$ gen gitignore:expressionengine --dest ./foo
gitignore:extjs
Generate a .gitignore file for ExtJs to the current working directory.
Example
$ gen gitignore:extjs
$ gen gitignore:extjs --dest ./foo
gitignore:fancy
Generate a .gitignore file for Fancy to the current working directory.
Example
$ gen gitignore:fancy
$ gen gitignore:fancy --dest ./foo
gitignore:finale
Generate a .gitignore file for Finale to the current working directory.
Example
$ gen gitignore:finale
$ gen gitignore:finale --dest ./foo
gitignore:forcedotcom
Generate a .gitignore file for ForceDotCom to the current working directory.
Example
$ gen gitignore:forcedotcom
$ gen gitignore:forcedotcom --dest ./foo
gitignore:fortran
Generate a .gitignore file for Fortran to the current working directory.
Example
$ gen gitignore:fortran
$ gen gitignore:fortran --dest ./foo
gitignore:fuelphp
Generate a .gitignore file for FuelPHP to the current working directory.
Example
$ gen gitignore:fuelphp
$ gen gitignore:fuelphp --dest ./foo
gitignore:gwt
Generate a .gitignore file for GWT to the current working directory.
Example
$ gen gitignore:gwt
$ gen gitignore:gwt --dest ./foo
gitignore:gcov
Generate a .gitignore file for Gcov to the current working directory.
Example
$ gen gitignore:gcov
$ gen gitignore:gcov --dest ./foo
gitignore:gitbook
Generate a .gitignore file for GitBook to the current working directory.
Example
$ gen gitignore:gitbook
$ gen gitignore:gitbook --dest ./foo
gitignore:go
Generate a .gitignore file for Go to the current working directory.
Example
$ gen gitignore:go
$ gen gitignore:go --dest ./foo
gitignore:gradle
Generate a .gitignore file for Gradle to the current working directory.
Example
$ gen gitignore:gradle
$ gen gitignore:gradle --dest ./foo
gitignore:grails
Generate a .gitignore file for Grails to the current working directory.
Example
$ gen gitignore:grails
$ gen gitignore:grails --dest ./foo
gitignore:haskell
Generate a .gitignore file for Haskell to the current working directory.
Example
$ gen gitignore:haskell
$ gen gitignore:haskell --dest ./foo
gitignore:igorpro
Generate a .gitignore file for IGORPro to the current working directory.
Example
$ gen gitignore:igorpro
$ gen gitignore:igorpro --dest ./foo
gitignore:idris
Generate a .gitignore file for Idris to the current working directory.
Example
$ gen gitignore:idris
$ gen gitignore:idris --dest ./foo
gitignore:java
Generate a .gitignore file for Java to the current working directory.
Example
$ gen gitignore:java
$ gen gitignore:java --dest ./foo
gitignore:jboss
Generate a .gitignore file for Jboss to the current working directory.
Example
$ gen gitignore:jboss
$ gen gitignore:jboss --dest ./foo
gitignore:jekyll
Generate a .gitignore file for Jekyll to the current working directory.
Example
$ gen gitignore:jekyll
$ gen gitignore:jekyll --dest ./foo
gitignore:joomla
Generate a .gitignore file for Joomla to the current working directory.
Example
$ gen gitignore:joomla
$ gen gitignore:joomla --dest ./foo
gitignore:julia
Generate a .gitignore file for Julia to the current working directory.
Example
$ gen gitignore:julia
$ gen gitignore:julia --dest ./foo
gitignore:kicad
Generate a .gitignore file for KiCad to the current working directory.
Example
$ gen gitignore:kicad
$ gen gitignore:kicad --dest ./foo
gitignore:kohana
Generate a .gitignore file for Kohana to the current working directory.
Example
$ gen gitignore:kohana
$ gen gitignore:kohana --dest ./foo
gitignore:labview
Generate a .gitignore file for LabVIEW to the current working directory.
Example
$ gen gitignore:labview
$ gen gitignore:labview --dest ./foo
gitignore:laravel
Generate a .gitignore file for Laravel to the current working directory.
Example
$ gen gitignore:laravel
$ gen gitignore:laravel --dest ./foo
gitignore:leiningen
Generate a .gitignore file for Leiningen to the current working directory.
Example
$ gen gitignore:leiningen
$ gen gitignore:leiningen --dest ./foo
gitignore:lemonstand
Generate a .gitignore file for LemonStand to the current working directory.
Example
$ gen gitignore:lemonstand
$ gen gitignore:lemonstand --dest ./foo
gitignore:lilypond
Generate a .gitignore file for Lilypond to the current working directory.
Example
$ gen gitignore:lilypond
$ gen gitignore:lilypond --dest ./foo
gitignore:lithium
Generate a .gitignore file for Lithium to the current working directory.
Example
$ gen gitignore:lithium
$ gen gitignore:lithium --dest ./foo
gitignore:lua
Generate a .gitignore file for Lua to the current working directory.
Example
$ gen gitignore:lua
$ gen gitignore:lua --dest ./foo
gitignore:magento
Generate a .gitignore file for Magento to the current working directory.
Example
$ gen gitignore:magento
$ gen gitignore:magento --dest ./foo
gitignore:maven
Generate a .gitignore file for Maven to the current working directory.
Example
$ gen gitignore:maven
$ gen gitignore:maven --dest ./foo
gitignore:mercury
Generate a .gitignore file for Mercury to the current working directory.
Example
$ gen gitignore:mercury
$ gen gitignore:mercury --dest ./foo
gitignore:metaprogrammingsystem
Generate a .gitignore file for MetaProgrammingSystem to the current working directory.
Example
$ gen gitignore:metaprogrammingsystem
$ gen gitignore:metaprogrammingsystem --dest ./foo
gitignore:minimal
Generate a .gitignore file for Minimal to the current working directory.
Example
$ gen gitignore:minimal
$ gen gitignore:minimal --dest ./foo
gitignore:nanoc
Generate a .gitignore file for Nanoc to the current working directory.
Example
$ gen gitignore:nanoc
$ gen gitignore:nanoc --dest ./foo
gitignore:nim
Generate a .gitignore file for Nim to the current working directory.
Example
$ gen gitignore:nim
$ gen gitignore:nim --dest ./foo
gitignore:node
Generate a .gitignore file for Node to the current working directory.
Example
$ gen gitignore:node
$ gen gitignore:node --dest ./foo
gitignore:ocaml
Generate a .gitignore file for OCaml to the current working directory.
Example
$ gen gitignore:ocaml
$ gen gitignore:ocaml --dest ./foo
gitignore:objective-c
Generate a .gitignore file for Objective-C to the current working directory.
Example
$ gen gitignore:objective-c
$ gen gitignore:objective-c --dest ./foo
gitignore:opa
Generate a .gitignore file for Opa to the current working directory.
Example
$ gen gitignore:opa
$ gen gitignore:opa --dest ./foo
gitignore:opencart
Generate a .gitignore file for OpenCart to the current working directory.
Example
$ gen gitignore:opencart
$ gen gitignore:opencart --dest ./foo
gitignore:oracleforms
Generate a .gitignore file for OracleForms to the current working directory.
Example
$ gen gitignore:oracleforms
$ gen gitignore:oracleforms --dest ./foo
gitignore:packer
Generate a .gitignore file for Packer to the current working directory.
Example
$ gen gitignore:packer
$ gen gitignore:packer --dest ./foo
gitignore:perl
Generate a .gitignore file for Perl to the current working directory.
Example
$ gen gitignore:perl
$ gen gitignore:perl --dest ./foo
gitignore:phalcon
Generate a .gitignore file for Phalcon to the current working directory.
Example
$ gen gitignore:phalcon
$ gen gitignore:phalcon --dest ./foo
gitignore:playframework
Generate a .gitignore file for PlayFramework to the current working directory.
Example
$ gen gitignore:playframework
$ gen gitignore:playframework --dest ./foo
gitignore:plone
Generate a .gitignore file for Plone to the current working directory.
Example
$ gen gitignore:plone
$ gen gitignore:plone --dest ./foo
gitignore:prestashop
Generate a .gitignore file for Prestashop to the current working directory.
Example
$ gen gitignore:prestashop
$ gen gitignore:prestashop --dest ./foo
gitignore:processing
Generate a .gitignore file for Processing to the current working directory.
Example
$ gen gitignore:processing
$ gen gitignore:processing --dest ./foo
gitignore:python
Generate a .gitignore file for Python to the current working directory.
Example
$ gen gitignore:python
$ gen gitignore:python --dest ./foo
gitignore:qooxdoo
Generate a .gitignore file for Qooxdoo to the current working directory.
Example
$ gen gitignore:qooxdoo
$ gen gitignore:qooxdoo --dest ./foo
gitignore:qt
Generate a .gitignore file for Qt to the current working directory.
Example
$ gen gitignore:qt
$ gen gitignore:qt --dest ./foo
gitignore:r
Generate a .gitignore file for R to the current working directory.
Example
$ gen gitignore:r
$ gen gitignore:r --dest ./foo
gitignore:ros
Generate a .gitignore file for ROS to the current working directory.
Example
$ gen gitignore:ros
$ gen gitignore:ros --dest ./foo
gitignore:rails
Generate a .gitignore file for Rails to the current working directory.
Example
$ gen gitignore:rails
$ gen gitignore:rails --dest ./foo
gitignore:rhodesrhomobile
Generate a .gitignore file for RhodesRhomobile to the current working directory.
Example
$ gen gitignore:rhodesrhomobile
$ gen gitignore:rhodesrhomobile --dest ./foo
gitignore:ruby
Generate a .gitignore file for Ruby to the current working directory.
Example
$ gen gitignore:ruby
$ gen gitignore:ruby --dest ./foo
gitignore:rust
Generate a .gitignore file for Rust to the current working directory.
Example
$ gen gitignore:rust
$ gen gitignore:rust --dest ./foo
gitignore:scons
Generate a .gitignore file for SCons to the current working directory.
Example
$ gen gitignore:scons
$ gen gitignore:scons --dest ./foo
gitignore:sass
Generate a .gitignore file for Sass to the current working directory.
Example
$ gen gitignore:sass
$ gen gitignore:sass --dest ./foo
gitignore:scala
Generate a .gitignore file for Scala to the current working directory.
Example
$ gen gitignore:scala
$ gen gitignore:scala --dest ./foo
gitignore:scheme
Generate a .gitignore file for Scheme to the current working directory.
Example
$ gen gitignore:scheme
$ gen gitignore:scheme --dest ./foo
gitignore:scrivener
Generate a .gitignore file for Scrivener to the current working directory.
Example
$ gen gitignore:scrivener
$ gen gitignore:scrivener --dest ./foo
gitignore:sdcc
Generate a .gitignore file for Sdcc to the current working directory.
Example
$ gen gitignore:sdcc
$ gen gitignore:sdcc --dest ./foo
gitignore:seamgen
Generate a .gitignore file for SeamGen to the current working directory.
Example
$ gen gitignore:seamgen
$ gen gitignore:seamgen --dest ./foo
gitignore:sketchup
Generate a .gitignore file for SketchUp to the current working directory.
Example
$ gen gitignore:sketchup
$ gen gitignore:sketchup --dest ./foo
gitignore:smalltalk
Generate a .gitignore file for Smalltalk to the current working directory.
Example
$ gen gitignore:smalltalk
$ gen gitignore:smalltalk --dest ./foo
gitignore:stella
Generate a .gitignore file for Stella to the current working directory.
Example
$ gen gitignore:stella
$ gen gitignore:stella --dest ./foo
gitignore:sugarcrm
Generate a .gitignore file for SugarCRM to the current working directory.
Example
$ gen gitignore:sugarcrm
$ gen gitignore:sugarcrm --dest ./foo
gitignore:swift
Generate a .gitignore file for Swift to the current working directory.
Example
$ gen gitignore:swift
$ gen gitignore:swift --dest ./foo
gitignore:symfony
Generate a .gitignore file for Symfony to the current working directory.
Example
$ gen gitignore:symfony
$ gen gitignore:symfony --dest ./foo
gitignore:symphonycms
Generate a .gitignore file for SymphonyCMS to the current working directory.
Example
$ gen gitignore:symphonycms
$ gen gitignore:symphonycms --dest ./foo
gitignore:tex
Generate a .gitignore file for TeX to the current working directory.
Example
$ gen gitignore:tex
$ gen gitignore:tex --dest ./foo
gitignore:terraform
Generate a .gitignore file for Terraform to the current working directory.
Example
$ gen gitignore:terraform
$ gen gitignore:terraform --dest ./foo
gitignore:textpattern
Generate a .gitignore file for Textpattern to the current working directory.
Example
$ gen gitignore:textpattern
$ gen gitignore:textpattern --dest ./foo
gitignore:turbogears2
Generate a .gitignore file for TurboGears2 to the current working directory.
Example
$ gen gitignore:turbogears2
$ gen gitignore:turbogears2 --dest ./foo
gitignore:typo3
Generate a .gitignore file for Typo3 to the current working directory.
Example
$ gen gitignore:typo3
$ gen gitignore:typo3 --dest ./foo
gitignore:umbraco
Generate a .gitignore file for Umbraco to the current working directory.
Example
$ gen gitignore:umbraco
$ gen gitignore:umbraco --dest ./foo
gitignore:unity
Generate a .gitignore file for Unity to the current working directory.
Example
$ gen gitignore:unity
$ gen gitignore:unity --dest ./foo
gitignore:unrealengine
Generate a .gitignore file for UnrealEngine to the current working directory.
Example
$ gen gitignore:unrealengine
$ gen gitignore:unrealengine --dest ./foo
gitignore:vvvv
Generate a .gitignore file for VVVV to the current working directory.
Example
$ gen gitignore:vvvv
$ gen gitignore:vvvv --dest ./foo
gitignore:visualstudio
Generate a .gitignore file for VisualStudio to the current working directory.
Example
$ gen gitignore:visualstudio
$ gen gitignore:visualstudio --dest ./foo
gitignore:waf
Generate a .gitignore file for Waf to the current working directory.
Example
$ gen gitignore:waf
$ gen gitignore:waf --dest ./foo
gitignore:wordpress
Generate a .gitignore file for WordPress to the current working directory.
Example
$ gen gitignore:wordpress
$ gen gitignore:wordpress --dest ./foo
gitignore:xojo
Generate a .gitignore file for Xojo to the current working directory.
Example
$ gen gitignore:xojo
$ gen gitignore:xojo --dest ./foo
gitignore:yeoman
Generate a .gitignore file for Yeoman to the current working directory.
Example
$ gen gitignore:yeoman
$ gen gitignore:yeoman --dest ./foo
gitignore:yii
Generate a .gitignore file for Yii to the current working directory.
Example
$ gen gitignore:yii
$ gen gitignore:yii --dest ./foo
gitignore:zendframework
Generate a .gitignore file for ZendFramework to the current working directory.
Example
$ gen gitignore:zendframework
$ gen gitignore:zendframework --dest ./foo
gitignore:zephir
Generate a .gitignore file for Zephir to the current working directory.
Example
$ gen gitignore:zephir
$ gen gitignore:zephir --dest ./foo
Global 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 ./foo
gitignore:global:archives
Generate a .gitignore file for Archives to the current working directory.
Example
$ gen gitignore.global:archives
$ gen gitignore.global:archives --dest ./foo
gitignore:global:bazaar
Generate a .gitignore file for Bazaar to the current working directory.
Example
$ gen gitignore.global:bazaar
$ gen gitignore.global:bazaar --dest ./foo
gitignore:global:bricxcc
Generate a .gitignore file for BricxCC to the current working directory.
Example
$ gen gitignore.global:bricxcc
$ gen gitignore.global:bricxcc --dest ./foo
gitignore:global:cvs
Generate a .gitignore file for CVS to the current working directory.
Example
$ gen gitignore.global:cvs
$ gen gitignore.global:cvs --dest ./foo
gitignore:global:calabash
Generate a .gitignore file for Calabash to the current working directory.
Example
$ gen gitignore.global:calabash
$ gen gitignore.global:calabash --dest ./foo
gitignore:global:cloud9
Generate a .gitignore file for Cloud9 to the current working directory.
Example
$ gen gitignore.global:cloud9
$ gen gitignore.global:cloud9 --dest ./foo
gitignore:global:codekit
Generate a .gitignore file for CodeKit to the current working directory.
Example
$ gen gitignore.global:codekit
$ gen gitignore.global:codekit --dest ./foo
gitignore:global:darteditor
Generate a .gitignore file for DartEditor to the current working directory.
Example
$ gen gitignore.global:darteditor
$ gen gitignore.global:darteditor --dest ./foo
gitignore:global:dreamweaver
Generate a .gitignore file for Dreamweaver to the current working directory.
Example
$ gen gitignore.global:dreamweaver
$ gen gitignore.global:dreamweaver --dest ./foo
gitignore:global:dropbox
Generate a .gitignore file for Dropbox to the current working directory.
Example
$ gen gitignore.global:dropbox
$ gen gitignore.global:dropbox --dest ./foo
gitignore:global:eclipse
Generate a .gitignore file for Eclipse to the current working directory.
Example
$ gen gitignore.global:eclipse
$ gen gitignore.global:eclipse --dest ./foo
gitignore:global:eiffelstudio
Generate a .gitignore file for EiffelStudio to the current working directory.
Example
$ gen gitignore.global:eiffelstudio
$ gen gitignore.global:eiffelstudio --dest ./foo
gitignore:global:emacs
Generate a .gitignore file for Emacs to the current working directory.
Example
$ gen gitignore.global:emacs
$ gen gitignore.global:emacs --dest ./foo
gitignore:global:ensime
Generate a .gitignore file for Ensime to the current working directory.
Example
$ gen gitignore.global:ensime
$ gen gitignore.global:ensime --dest ./foo
gitignore:global:espresso
Generate a .gitignore file for Espresso to the current working directory.
Example
$ gen gitignore.global:espresso
$ gen gitignore.global:espresso --dest ./foo
gitignore:global:flexbuilder
Generate a .gitignore file for FlexBuilder to the current working directory.
Example
$ gen gitignore.global:flexbuilder
$ gen gitignore.global:flexbuilder --dest ./foo
gitignore:global:gpg
Generate a .gitignore file for GPG to the current working directory.
Example
$ gen gitignore.global:gpg
$ gen gitignore.global:gpg --dest ./foo
gitignore:global:ipythonnotebook
Generate a .gitignore file for IPythonNotebook to the current working directory.
Example
$ gen gitignore.global:ipythonnotebook
$ gen gitignore.global:ipythonnotebook --dest ./foo
gitignore:global:jdeveloper
Generate a .gitignore file for JDeveloper to the current working directory.
Example
$ gen gitignore.global:jdeveloper
$ gen gitignore.global:jdeveloper --dest ./foo
gitignore:global:jetbrains
Generate a .gitignore file for JetBrains to the current working directory.
Example
$ gen gitignore.global:jetbrains
$ gen gitignore.global:jetbrains --dest ./foo
gitignore:global:kdevelop4
Generate a .gitignore file for KDevelop4 to the current working directory.
Example
$ gen gitignore.global:kdevelop4
$ gen gitignore.global:kdevelop4 --dest ./foo
gitignore:global:kate
Generate a .gitignore file for Kate to the current working directory.
Example
$ gen gitignore.global:kate
$ gen gitignore.global:kate --dest ./foo
gitignore:global:lazarus
Generate a .gitignore file for Lazarus to the current working directory.
Example
$ gen gitignore.global:lazarus
$ gen gitignore.global:lazarus --dest ./foo
gitignore:global:libreoffice
Generate a .gitignore file for LibreOffice to the current working directory.
Example
$ gen gitignore.global:libreoffice
$ gen gitignore.global:libreoffice --dest ./foo
gitignore:global:linux
Generate a .gitignore file for Linux to the current working directory.
Example
$ gen gitignore.global:linux
$ gen gitignore.global:linux --dest ./foo
gitignore:global:lyx
Generate a .gitignore file for LyX to the current working directory.
Example
$ gen gitignore.global:lyx
$ gen gitignore.global:lyx --dest ./foo
gitignore:global:matlab
Generate a .gitignore file for Matlab to the current working directory.
Example
$ gen gitignore.global:matlab
$ gen gitignore.global:matlab --dest ./foo
gitignore:global:mercurial
Generate a .gitignore file for Mercurial to the current working directory.
Example
$ gen gitignore.global:mercurial
$ gen gitignore.global:mercurial --dest ./foo
gitignore:global:microsoftoffice
Generate a .gitignore file for MicrosoftOffice to the current working directory.
Example
$ gen gitignore.global:microsoftoffice
$ gen gitignore.global:microsoftoffice --dest ./foo
gitignore:global:modelsim
Generate a .gitignore file for ModelSim to the current working directory.
Example
$ gen gitignore.global:modelsim
$ gen gitignore.global:modelsim --dest ./foo
gitignore:global:momentics
Generate a .gitignore file for Momentics to the current working directory.
Example
$ gen gitignore.global:momentics
$ gen gitignore.global:momentics --dest ./foo
gitignore:global:monodevelop
Generate a .gitignore file for MonoDevelop to the current working directory.
Example
$ gen gitignore.global:monodevelop
$ gen gitignore.global:monodevelop --dest ./foo
gitignore:global:netbeans
Generate a .gitignore file for NetBeans to the current working directory.
Example
$ gen gitignore.global:netbeans
$ gen gitignore.global:netbeans --dest ./foo
gitignore:global:ninja
Generate a .gitignore file for Ninja to the current working directory.
Example
$ gen gitignore.global:ninja
$ gen gitignore.global:ninja --dest ./foo
gitignore:global:notepadpp
Generate a .gitignore file for NotepadPP to the current working directory.
Example
$ gen gitignore.global:notepadpp
$ gen gitignore.global:notepadpp --dest ./foo
gitignore:global:osx
Generate a .gitignore file for OSX to the current working directory.
Example
$ gen gitignore.global:osx
$ gen gitignore.global:osx --dest ./foo
gitignore:global:otto
Generate a .gitignore file for Otto to the current working directory.
Example
$ gen gitignore.global:otto
$ gen gitignore.global:otto --dest ./foo
gitignore:global:redcar
Generate a .gitignore file for Redcar to the current working directory.
Example
$ gen gitignore.global:redcar
$ gen gitignore.global:redcar --dest ./foo
gitignore:global:redis
Generate a .gitignore file for Redis to the current working directory.
Example
$ gen gitignore.global:redis
$ gen gitignore.global:redis --dest ./foo
gitignore:global:sbt
Generate a .gitignore file for SBT to the current working directory.
Example
$ gen gitignore.global:sbt
$ gen gitignore.global:sbt --dest ./foo
gitignore:global:svn
Generate a .gitignore file for SVN to the current working directory.
Example
$ gen gitignore.global:svn
$ gen gitignore.global:svn --dest ./foo
gitignore:global:slickedit
Generate a .gitignore file for SlickEdit to the current working directory.
Example
$ gen gitignore.global:slickedit
$ gen gitignore.global:slickedit --dest ./foo
gitignore:global:sublimetext
Generate a .gitignore file for SublimeText to the current working directory.
Example
$ gen gitignore.global:sublimetext
$ gen gitignore.global:sublimetext --dest ./foo
gitignore:global:synopsysvcs
Generate a .gitignore file for SynopsysVCS to the current working directory.
Example
$ gen gitignore.global:synopsysvcs
$ gen gitignore.global:synopsysvcs --dest ./foo
gitignore:global:tags
Generate a .gitignore file for Tags to the current working directory.
Example
$ gen gitignore.global:tags
$ gen gitignore.global:tags --dest ./foo
gitignore:global:textmate
Generate a .gitignore file for TextMate to the current working directory.
Example
$ gen gitignore.global:textmate
$ gen gitignore.global:textmate --dest ./foo
gitignore:global:tortoisegit
Generate a .gitignore file for TortoiseGit to the current working directory.
Example
$ gen gitignore.global:tortoisegit
$ gen gitignore.global:tortoisegit --dest ./foo
gitignore:global:vagrant
Generate a .gitignore file for Vagrant to the current working directory.
Example
$ gen gitignore.global:vagrant
$ gen gitignore.global:vagrant --dest ./foo
gitignore:global:vim
Generate a .gitignore file for Vim to the current working directory.
Example
$ gen gitignore.global:vim
$ gen gitignore.global:vim --dest ./foo
gitignore:global:virtualenv
Generate a .gitignore file for VirtualEnv to the current working directory.
Example
$ gen gitignore.global:virtualenv
$ gen gitignore.global:virtualenv --dest ./foo
gitignore:global:visualstudiocode
Generate a .gitignore file for VisualStudioCode to the current working directory.
Example
$ gen gitignore.global:visualstudiocode
$ gen gitignore.global:visualstudiocode --dest ./foo
gitignore:global:webmethods
Generate a .gitignore file for WebMethods to the current working directory.
Example
$ gen gitignore.global:webmethods
$ gen gitignore.global:webmethods --dest ./foo
gitignore:global:windows
Generate a .gitignore file for Windows to the current working directory.
Example
$ gen gitignore.global:windows
$ gen gitignore.global:windows --dest ./foo
gitignore:global:xcode
Generate a .gitignore file for Xcode to the current working directory.
Example
$ gen gitignore.global:xcode
$ gen gitignore.global:xcode --dest ./foo
gitignore:global:xilinxise
Generate a .gitignore file for XilinxISE to the current working directory.
Example
$ gen gitignore.global:xilinxise
$ gen gitignore.global:xilinxise --dest ./foo
Resources
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 && test
Publishing 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 publish
About
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 test
Release 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.