Skip to content

Latest commit

 

History

History
2239 lines (1421 loc) · 49.6 KB

README.md

File metadata and controls

2239 lines (1421 loc) · 49.6 KB

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

NPM version NPM downloads Build Status

generate-gitignore demo

Table of Contents

(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:

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.

Generate a .gitignore file to the current working directory.

Example

$ gen gitignore

Generate a global .gitignore file to global .git directory.

Example

$ gen gitignore:global

Local gitignore

The following local .gitignore files are available.

generate-gitignore node

Generate a .gitignore file for Actionscript to the current working directory.

Example

$ gen gitignore:actionscript
$ gen gitignore:actionscript --dest ./foo

Generate a .gitignore file for Ada to the current working directory.

Example

$ gen gitignore:ada
$ gen gitignore:ada --dest ./foo

Generate a .gitignore file for Agda to the current working directory.

Example

$ gen gitignore:agda
$ gen gitignore:agda --dest ./foo

Generate a .gitignore file for Android to the current working directory.

Example

$ gen gitignore:android
$ gen gitignore:android --dest ./foo

Generate a .gitignore file for AppEngine to the current working directory.

Example

$ gen gitignore:appengine
$ gen gitignore:appengine --dest ./foo

Generate a .gitignore file for AppceleratorTitanium to the current working directory.

Example

$ gen gitignore:appceleratortitanium
$ gen gitignore:appceleratortitanium --dest ./foo

Generate a .gitignore file for ArchLinuxPackages to the current working directory.

Example

$ gen gitignore:archlinuxpackages
$ gen gitignore:archlinuxpackages --dest ./foo

Generate a .gitignore file for Autotools to the current working directory.

Example

$ gen gitignore:autotools
$ gen gitignore:autotools --dest ./foo

Generate a .gitignore file for C++ to the current working directory.

Example

$ gen gitignore:c++
$ gen gitignore:c++ --dest ./foo

Generate a .gitignore file for C to the current working directory.

Example

$ gen gitignore:c
$ gen gitignore:c --dest ./foo

Generate a .gitignore file for CFWheels to the current working directory.

Example

$ gen gitignore:cfwheels
$ gen gitignore:cfwheels --dest ./foo

Generate a .gitignore file for CMake to the current working directory.

Example

$ gen gitignore:cmake
$ gen gitignore:cmake --dest ./foo

Generate a .gitignore file for CUDA to the current working directory.

Example

$ gen gitignore:cuda
$ gen gitignore:cuda --dest ./foo

Generate a .gitignore file for CakePHP to the current working directory.

Example

$ gen gitignore:cakephp
$ gen gitignore:cakephp --dest ./foo

Generate a .gitignore file for ChefCookbook to the current working directory.

Example

$ gen gitignore:chefcookbook
$ gen gitignore:chefcookbook --dest ./foo

Generate a .gitignore file for Clojure to the current working directory.

Example

$ gen gitignore:clojure
$ gen gitignore:clojure --dest ./foo

Generate a .gitignore file for CodeIgniter to the current working directory.

Example

$ gen gitignore:codeigniter
$ gen gitignore:codeigniter --dest ./foo

Generate a .gitignore file for CommonLisp to the current working directory.

Example

$ gen gitignore:commonlisp
$ gen gitignore:commonlisp --dest ./foo

Generate a .gitignore file for Composer to the current working directory.

Example

$ gen gitignore:composer
$ gen gitignore:composer --dest ./foo

Generate a .gitignore file for Concrete5 to the current working directory.

Example

$ gen gitignore:concrete5
$ gen gitignore:concrete5 --dest ./foo

Generate a .gitignore file for Coq to the current working directory.

Example

$ gen gitignore:coq
$ gen gitignore:coq --dest ./foo

Generate a .gitignore file for CraftCMS to the current working directory.

Example

$ gen gitignore:craftcms
$ gen gitignore:craftcms --dest ./foo

Generate a .gitignore file for D to the current working directory.

Example

$ gen gitignore:d
$ gen gitignore:d --dest ./foo

Generate a .gitignore file for DM to the current working directory.

Example

$ gen gitignore:dm
$ gen gitignore:dm --dest ./foo

Generate a .gitignore file for Dart to the current working directory.

Example

$ gen gitignore:dart
$ gen gitignore:dart --dest ./foo

Generate a .gitignore file for Delphi to the current working directory.

Example

$ gen gitignore:delphi
$ gen gitignore:delphi --dest ./foo

Generate a .gitignore file for Drupal to the current working directory.

Example

$ gen gitignore:drupal
$ gen gitignore:drupal --dest ./foo

Generate a .gitignore file for EPiServer to the current working directory.

Example

$ gen gitignore:episerver
$ gen gitignore:episerver --dest ./foo

Generate a .gitignore file for Eagle to the current working directory.

Example

$ gen gitignore:eagle
$ gen gitignore:eagle --dest ./foo

Generate a .gitignore file for Elisp to the current working directory.

Example

$ gen gitignore:elisp
$ gen gitignore:elisp --dest ./foo

Generate a .gitignore file for Elixir to the current working directory.

Example

$ gen gitignore:elixir
$ gen gitignore:elixir --dest ./foo

Generate a .gitignore file for Elm to the current working directory.

Example

$ gen gitignore:elm
$ gen gitignore:elm --dest ./foo

Generate a .gitignore file for Erlang to the current working directory.

Example

$ gen gitignore:erlang
$ gen gitignore:erlang --dest ./foo

Generate a .gitignore file for ExpressionEngine to the current working directory.

Example

$ gen gitignore:expressionengine
$ gen gitignore:expressionengine --dest ./foo

Generate a .gitignore file for ExtJs to the current working directory.

Example

$ gen gitignore:extjs
$ gen gitignore:extjs --dest ./foo

Generate a .gitignore file for Fancy to the current working directory.

Example

$ gen gitignore:fancy
$ gen gitignore:fancy --dest ./foo

Generate a .gitignore file for Finale to the current working directory.

Example

$ gen gitignore:finale
$ gen gitignore:finale --dest ./foo

Generate a .gitignore file for ForceDotCom to the current working directory.

Example

$ gen gitignore:forcedotcom
$ gen gitignore:forcedotcom --dest ./foo

Generate a .gitignore file for Fortran to the current working directory.

Example

$ gen gitignore:fortran
$ gen gitignore:fortran --dest ./foo

Generate a .gitignore file for FuelPHP to the current working directory.

Example

$ gen gitignore:fuelphp
$ gen gitignore:fuelphp --dest ./foo

Generate a .gitignore file for GWT to the current working directory.

Example

$ gen gitignore:gwt
$ gen gitignore:gwt --dest ./foo

Generate a .gitignore file for Gcov to the current working directory.

Example

$ gen gitignore:gcov
$ gen gitignore:gcov --dest ./foo

Generate a .gitignore file for GitBook to the current working directory.

Example

$ gen gitignore:gitbook
$ gen gitignore:gitbook --dest ./foo

Generate a .gitignore file for Go to the current working directory.

Example

$ gen gitignore:go
$ gen gitignore:go --dest ./foo

Generate a .gitignore file for Gradle to the current working directory.

Example

$ gen gitignore:gradle
$ gen gitignore:gradle --dest ./foo

Generate a .gitignore file for Grails to the current working directory.

Example

$ gen gitignore:grails
$ gen gitignore:grails --dest ./foo

Generate a .gitignore file for Haskell to the current working directory.

Example

$ gen gitignore:haskell
$ gen gitignore:haskell --dest ./foo

Generate a .gitignore file for IGORPro to the current working directory.

Example

$ gen gitignore:igorpro
$ gen gitignore:igorpro --dest ./foo

Generate a .gitignore file for Idris to the current working directory.

Example

$ gen gitignore:idris
$ gen gitignore:idris --dest ./foo

Generate a .gitignore file for Java to the current working directory.

Example

$ gen gitignore:java
$ gen gitignore:java --dest ./foo

Generate a .gitignore file for Jboss to the current working directory.

Example

$ gen gitignore:jboss
$ gen gitignore:jboss --dest ./foo

Generate a .gitignore file for Jekyll to the current working directory.

Example

$ gen gitignore:jekyll
$ gen gitignore:jekyll --dest ./foo

Generate a .gitignore file for Joomla to the current working directory.

Example

$ gen gitignore:joomla
$ gen gitignore:joomla --dest ./foo

Generate a .gitignore file for Julia to the current working directory.

Example

$ gen gitignore:julia
$ gen gitignore:julia --dest ./foo

Generate a .gitignore file for KiCad to the current working directory.

Example

$ gen gitignore:kicad
$ gen gitignore:kicad --dest ./foo

Generate a .gitignore file for Kohana to the current working directory.

Example

$ gen gitignore:kohana
$ gen gitignore:kohana --dest ./foo

Generate a .gitignore file for LabVIEW to the current working directory.

Example

$ gen gitignore:labview
$ gen gitignore:labview --dest ./foo

Generate a .gitignore file for Laravel to the current working directory.

Example

$ gen gitignore:laravel
$ gen gitignore:laravel --dest ./foo

Generate a .gitignore file for Leiningen to the current working directory.

Example

$ gen gitignore:leiningen
$ gen gitignore:leiningen --dest ./foo

Generate a .gitignore file for LemonStand to the current working directory.

Example

$ gen gitignore:lemonstand
$ gen gitignore:lemonstand --dest ./foo

Generate a .gitignore file for Lilypond to the current working directory.

Example

$ gen gitignore:lilypond
$ gen gitignore:lilypond --dest ./foo

Generate a .gitignore file for Lithium to the current working directory.

Example

$ gen gitignore:lithium
$ gen gitignore:lithium --dest ./foo

Generate a .gitignore file for Lua to the current working directory.

Example

$ gen gitignore:lua
$ gen gitignore:lua --dest ./foo

Generate a .gitignore file for Magento to the current working directory.

Example

$ gen gitignore:magento
$ gen gitignore:magento --dest ./foo

Generate a .gitignore file for Maven to the current working directory.

Example

$ gen gitignore:maven
$ gen gitignore:maven --dest ./foo

Generate a .gitignore file for Mercury to the current working directory.

Example

$ gen gitignore:mercury
$ gen gitignore:mercury --dest ./foo

Generate a .gitignore file for MetaProgrammingSystem to the current working directory.

Example

$ gen gitignore:metaprogrammingsystem
$ gen gitignore:metaprogrammingsystem --dest ./foo

Generate a .gitignore file for Minimal to the current working directory.

Example

$ gen gitignore:minimal
$ gen gitignore:minimal --dest ./foo

Generate a .gitignore file for Nanoc to the current working directory.

Example

$ gen gitignore:nanoc
$ gen gitignore:nanoc --dest ./foo

Generate a .gitignore file for Nim to the current working directory.

Example

$ gen gitignore:nim
$ gen gitignore:nim --dest ./foo

Generate a .gitignore file for Node to the current working directory.

Example

$ gen gitignore:node
$ gen gitignore:node --dest ./foo

Generate a .gitignore file for OCaml to the current working directory.

Example

$ gen gitignore:ocaml
$ gen gitignore:ocaml --dest ./foo

Generate a .gitignore file for Objective-C to the current working directory.

Example

$ gen gitignore:objective-c
$ gen gitignore:objective-c --dest ./foo

Generate a .gitignore file for Opa to the current working directory.

Example

$ gen gitignore:opa
$ gen gitignore:opa --dest ./foo

Generate a .gitignore file for OpenCart to the current working directory.

Example

$ gen gitignore:opencart
$ gen gitignore:opencart --dest ./foo

Generate a .gitignore file for OracleForms to the current working directory.

Example

$ gen gitignore:oracleforms
$ gen gitignore:oracleforms --dest ./foo

Generate a .gitignore file for Packer to the current working directory.

Example

$ gen gitignore:packer
$ gen gitignore:packer --dest ./foo

Generate a .gitignore file for Perl to the current working directory.

Example

$ gen gitignore:perl
$ gen gitignore:perl --dest ./foo

Generate a .gitignore file for Phalcon to the current working directory.

Example

$ gen gitignore:phalcon
$ gen gitignore:phalcon --dest ./foo

Generate a .gitignore file for PlayFramework to the current working directory.

Example

$ gen gitignore:playframework
$ gen gitignore:playframework --dest ./foo

Generate a .gitignore file for Plone to the current working directory.

Example

$ gen gitignore:plone
$ gen gitignore:plone --dest ./foo

Generate a .gitignore file for Prestashop to the current working directory.

Example

$ gen gitignore:prestashop
$ gen gitignore:prestashop --dest ./foo

Generate a .gitignore file for Processing to the current working directory.

Example

$ gen gitignore:processing
$ gen gitignore:processing --dest ./foo

Generate a .gitignore file for Python to the current working directory.

Example

$ gen gitignore:python
$ gen gitignore:python --dest ./foo

Generate a .gitignore file for Qooxdoo to the current working directory.

Example

$ gen gitignore:qooxdoo
$ gen gitignore:qooxdoo --dest ./foo

Generate a .gitignore file for Qt to the current working directory.

Example

$ gen gitignore:qt
$ gen gitignore:qt --dest ./foo

Generate a .gitignore file for R to the current working directory.

Example

$ gen gitignore:r
$ gen gitignore:r --dest ./foo

Generate a .gitignore file for ROS to the current working directory.

Example

$ gen gitignore:ros
$ gen gitignore:ros --dest ./foo

Generate a .gitignore file for Rails to the current working directory.

Example

$ gen gitignore:rails
$ gen gitignore:rails --dest ./foo

Generate a .gitignore file for RhodesRhomobile to the current working directory.

Example

$ gen gitignore:rhodesrhomobile
$ gen gitignore:rhodesrhomobile --dest ./foo

Generate a .gitignore file for Ruby to the current working directory.

Example

$ gen gitignore:ruby
$ gen gitignore:ruby --dest ./foo

Generate a .gitignore file for Rust to the current working directory.

Example

$ gen gitignore:rust
$ gen gitignore:rust --dest ./foo

Generate a .gitignore file for SCons to the current working directory.

Example

$ gen gitignore:scons
$ gen gitignore:scons --dest ./foo

Generate a .gitignore file for Sass to the current working directory.

Example

$ gen gitignore:sass
$ gen gitignore:sass --dest ./foo

Generate a .gitignore file for Scala to the current working directory.

Example

$ gen gitignore:scala
$ gen gitignore:scala --dest ./foo

Generate a .gitignore file for Scheme to the current working directory.

Example

$ gen gitignore:scheme
$ gen gitignore:scheme --dest ./foo

Generate a .gitignore file for Scrivener to the current working directory.

Example

$ gen gitignore:scrivener
$ gen gitignore:scrivener --dest ./foo

Generate a .gitignore file for Sdcc to the current working directory.

Example

$ gen gitignore:sdcc
$ gen gitignore:sdcc --dest ./foo

Generate a .gitignore file for SeamGen to the current working directory.

Example

$ gen gitignore:seamgen
$ gen gitignore:seamgen --dest ./foo

Generate a .gitignore file for SketchUp to the current working directory.

Example

$ gen gitignore:sketchup
$ gen gitignore:sketchup --dest ./foo

Generate a .gitignore file for Smalltalk to the current working directory.

Example

$ gen gitignore:smalltalk
$ gen gitignore:smalltalk --dest ./foo

Generate a .gitignore file for Stella to the current working directory.

Example

$ gen gitignore:stella
$ gen gitignore:stella --dest ./foo

Generate a .gitignore file for SugarCRM to the current working directory.

Example

$ gen gitignore:sugarcrm
$ gen gitignore:sugarcrm --dest ./foo

Generate a .gitignore file for Swift to the current working directory.

Example

$ gen gitignore:swift
$ gen gitignore:swift --dest ./foo

Generate a .gitignore file for Symfony to the current working directory.

Example

$ gen gitignore:symfony
$ gen gitignore:symfony --dest ./foo

Generate a .gitignore file for SymphonyCMS to the current working directory.

Example

$ gen gitignore:symphonycms
$ gen gitignore:symphonycms --dest ./foo

Generate a .gitignore file for TeX to the current working directory.

Example

$ gen gitignore:tex
$ gen gitignore:tex --dest ./foo

Generate a .gitignore file for Terraform to the current working directory.

Example

$ gen gitignore:terraform
$ gen gitignore:terraform --dest ./foo

Generate a .gitignore file for Textpattern to the current working directory.

Example

$ gen gitignore:textpattern
$ gen gitignore:textpattern --dest ./foo

Generate a .gitignore file for TurboGears2 to the current working directory.

Example

$ gen gitignore:turbogears2
$ gen gitignore:turbogears2 --dest ./foo

Generate a .gitignore file for Typo3 to the current working directory.

Example

$ gen gitignore:typo3
$ gen gitignore:typo3 --dest ./foo

Generate a .gitignore file for Umbraco to the current working directory.

Example

$ gen gitignore:umbraco
$ gen gitignore:umbraco --dest ./foo

Generate a .gitignore file for Unity to the current working directory.

Example

$ gen gitignore:unity
$ gen gitignore:unity --dest ./foo

Generate a .gitignore file for UnrealEngine to the current working directory.

Example

$ gen gitignore:unrealengine
$ gen gitignore:unrealengine --dest ./foo

Generate a .gitignore file for VVVV to the current working directory.

Example

$ gen gitignore:vvvv
$ gen gitignore:vvvv --dest ./foo

Generate a .gitignore file for VisualStudio to the current working directory.

Example

$ gen gitignore:visualstudio
$ gen gitignore:visualstudio --dest ./foo

Generate a .gitignore file for Waf to the current working directory.

Example

$ gen gitignore:waf
$ gen gitignore:waf --dest ./foo

Generate a .gitignore file for WordPress to the current working directory.

Example

$ gen gitignore:wordpress
$ gen gitignore:wordpress --dest ./foo

Generate a .gitignore file for Xojo to the current working directory.

Example

$ gen gitignore:xojo
$ gen gitignore:xojo --dest ./foo

Generate a .gitignore file for Yeoman to the current working directory.

Example

$ gen gitignore:yeoman
$ gen gitignore:yeoman --dest ./foo

Generate a .gitignore file for Yii to the current working directory.

Example

$ gen gitignore:yii
$ gen gitignore:yii --dest ./foo

Generate a .gitignore file for ZendFramework to the current working directory.

Example

$ gen gitignore:zendframework
$ gen gitignore:zendframework --dest ./foo

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.

Generate a .gitignore file for Anjuta to the current working directory.

Example

$ gen gitignore.global:anjuta
$ gen gitignore.global:anjuta --dest ./foo

Generate a .gitignore file for Archives to the current working directory.

Example

$ gen gitignore.global:archives
$ gen gitignore.global:archives --dest ./foo

Generate a .gitignore file for Bazaar to the current working directory.

Example

$ gen gitignore.global:bazaar
$ gen gitignore.global:bazaar --dest ./foo

Generate a .gitignore file for BricxCC to the current working directory.

Example

$ gen gitignore.global:bricxcc
$ gen gitignore.global:bricxcc --dest ./foo

Generate a .gitignore file for CVS to the current working directory.

Example

$ gen gitignore.global:cvs
$ gen gitignore.global:cvs --dest ./foo

Generate a .gitignore file for Calabash to the current working directory.

Example

$ gen gitignore.global:calabash
$ gen gitignore.global:calabash --dest ./foo

Generate a .gitignore file for Cloud9 to the current working directory.

Example

$ gen gitignore.global:cloud9
$ gen gitignore.global:cloud9 --dest ./foo

Generate a .gitignore file for CodeKit to the current working directory.

Example

$ gen gitignore.global:codekit
$ gen gitignore.global:codekit --dest ./foo

Generate a .gitignore file for DartEditor to the current working directory.

Example

$ gen gitignore.global:darteditor
$ gen gitignore.global:darteditor --dest ./foo

Generate a .gitignore file for Dreamweaver to the current working directory.

Example

$ gen gitignore.global:dreamweaver
$ gen gitignore.global:dreamweaver --dest ./foo

Generate a .gitignore file for Dropbox to the current working directory.

Example

$ gen gitignore.global:dropbox
$ gen gitignore.global:dropbox --dest ./foo

Generate a .gitignore file for Eclipse to the current working directory.

Example

$ gen gitignore.global:eclipse
$ gen gitignore.global:eclipse --dest ./foo

Generate a .gitignore file for EiffelStudio to the current working directory.

Example

$ gen gitignore.global:eiffelstudio
$ gen gitignore.global:eiffelstudio --dest ./foo

Generate a .gitignore file for Emacs to the current working directory.

Example

$ gen gitignore.global:emacs
$ gen gitignore.global:emacs --dest ./foo

Generate a .gitignore file for Ensime to the current working directory.

Example

$ gen gitignore.global:ensime
$ gen gitignore.global:ensime --dest ./foo

Generate a .gitignore file for Espresso to the current working directory.

Example

$ gen gitignore.global:espresso
$ gen gitignore.global:espresso --dest ./foo

Generate a .gitignore file for FlexBuilder to the current working directory.

Example

$ gen gitignore.global:flexbuilder
$ gen gitignore.global:flexbuilder --dest ./foo

Generate a .gitignore file for GPG to the current working directory.

Example

$ gen gitignore.global:gpg
$ gen gitignore.global:gpg --dest ./foo

Generate a .gitignore file for IPythonNotebook to the current working directory.

Example

$ gen gitignore.global:ipythonnotebook
$ gen gitignore.global:ipythonnotebook --dest ./foo

Generate a .gitignore file for JDeveloper to the current working directory.

Example

$ gen gitignore.global:jdeveloper
$ gen gitignore.global:jdeveloper --dest ./foo

Generate a .gitignore file for JetBrains to the current working directory.

Example

$ gen gitignore.global:jetbrains
$ gen gitignore.global:jetbrains --dest ./foo

Generate a .gitignore file for KDevelop4 to the current working directory.

Example

$ gen gitignore.global:kdevelop4
$ gen gitignore.global:kdevelop4 --dest ./foo

Generate a .gitignore file for Kate to the current working directory.

Example

$ gen gitignore.global:kate
$ gen gitignore.global:kate --dest ./foo

Generate a .gitignore file for Lazarus to the current working directory.

Example

$ gen gitignore.global:lazarus
$ gen gitignore.global:lazarus --dest ./foo

Generate a .gitignore file for LibreOffice to the current working directory.

Example

$ gen gitignore.global:libreoffice
$ gen gitignore.global:libreoffice --dest ./foo

Generate a .gitignore file for Linux to the current working directory.

Example

$ gen gitignore.global:linux
$ gen gitignore.global:linux --dest ./foo

Generate a .gitignore file for LyX to the current working directory.

Example

$ gen gitignore.global:lyx
$ gen gitignore.global:lyx --dest ./foo

Generate a .gitignore file for Matlab to the current working directory.

Example

$ gen gitignore.global:matlab
$ gen gitignore.global:matlab --dest ./foo

Generate a .gitignore file for Mercurial to the current working directory.

Example

$ gen gitignore.global:mercurial
$ gen gitignore.global:mercurial --dest ./foo

Generate a .gitignore file for MicrosoftOffice to the current working directory.

Example

$ gen gitignore.global:microsoftoffice
$ gen gitignore.global:microsoftoffice --dest ./foo

Generate a .gitignore file for ModelSim to the current working directory.

Example

$ gen gitignore.global:modelsim
$ gen gitignore.global:modelsim --dest ./foo

Generate a .gitignore file for Momentics to the current working directory.

Example

$ gen gitignore.global:momentics
$ gen gitignore.global:momentics --dest ./foo

Generate a .gitignore file for MonoDevelop to the current working directory.

Example

$ gen gitignore.global:monodevelop
$ gen gitignore.global:monodevelop --dest ./foo

Generate a .gitignore file for NetBeans to the current working directory.

Example

$ gen gitignore.global:netbeans
$ gen gitignore.global:netbeans --dest ./foo

Generate a .gitignore file for Ninja to the current working directory.

Example

$ gen gitignore.global:ninja
$ gen gitignore.global:ninja --dest ./foo

Generate a .gitignore file for NotepadPP to the current working directory.

Example

$ gen gitignore.global:notepadpp
$ gen gitignore.global:notepadpp --dest ./foo

Generate a .gitignore file for OSX to the current working directory.

Example

$ gen gitignore.global:osx
$ gen gitignore.global:osx --dest ./foo

Generate a .gitignore file for Otto to the current working directory.

Example

$ gen gitignore.global:otto
$ gen gitignore.global:otto --dest ./foo

Generate a .gitignore file for Redcar to the current working directory.

Example

$ gen gitignore.global:redcar
$ gen gitignore.global:redcar --dest ./foo

Generate a .gitignore file for Redis to the current working directory.

Example

$ gen gitignore.global:redis
$ gen gitignore.global:redis --dest ./foo

Generate a .gitignore file for SBT to the current working directory.

Example

$ gen gitignore.global:sbt
$ gen gitignore.global:sbt --dest ./foo

Generate a .gitignore file for SVN to the current working directory.

Example

$ gen gitignore.global:svn
$ gen gitignore.global:svn --dest ./foo

Generate a .gitignore file for SlickEdit to the current working directory.

Example

$ gen gitignore.global:slickedit
$ gen gitignore.global:slickedit --dest ./foo

Generate a .gitignore file for SublimeText to the current working directory.

Example

$ gen gitignore.global:sublimetext
$ gen gitignore.global:sublimetext --dest ./foo

Generate a .gitignore file for SynopsysVCS to the current working directory.

Example

$ gen gitignore.global:synopsysvcs
$ gen gitignore.global:synopsysvcs --dest ./foo

Generate a .gitignore file for Tags to the current working directory.

Example

$ gen gitignore.global:tags
$ gen gitignore.global:tags --dest ./foo

Generate a .gitignore file for TextMate to the current working directory.

Example

$ gen gitignore.global:textmate
$ gen gitignore.global:textmate --dest ./foo

Generate a .gitignore file for TortoiseGit to the current working directory.

Example

$ gen gitignore.global:tortoisegit
$ gen gitignore.global:tortoisegit --dest ./foo

Generate a .gitignore file for Vagrant to the current working directory.

Example

$ gen gitignore.global:vagrant
$ gen gitignore.global:vagrant --dest ./foo

Generate a .gitignore file for Vim to the current working directory.

Example

$ gen gitignore.global:vim
$ gen gitignore.global:vim --dest ./foo

Generate a .gitignore file for VirtualEnv to the current working directory.

Example

$ gen gitignore.global:virtualenv
$ gen gitignore.global:virtualenv --dest ./foo

Generate a .gitignore file for VisualStudioCode to the current working directory.

Example

$ gen gitignore.global:visualstudiocode
$ gen gitignore.global:visualstudiocode --dest ./foo

Generate a .gitignore file for WebMethods to the current working directory.

Example

$ gen gitignore.global:webmethods
$ gen gitignore.global:webmethods --dest ./foo

Generate a .gitignore file for Windows to the current working directory.

Example

$ gen gitignore.global:windows
$ gen gitignore.global:windows --dest ./foo

Generate a .gitignore file for Xcode to the current working directory.

Example

$ gen gitignore.global:xcode
$ gen gitignore.global:xcode --dest ./foo

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

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 @generatejs or use the #generatejs hashtag
  • Show your love by starring Generate and generate-gitignore
  • Get implementation help on StackOverflow (please use the generatejs tag 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 generategenerator to 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 features
  • changed: for changes in existing functionality
  • deprecated: for once-stable features removed in upcoming releases
  • removed: for deprecated features removed in this release
  • fixed: for any bug fixes

Added

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.