loading...

re: I created a .gitignore command-line generator ! VIEW POST

FULL DISCUSSION
 

Just curious how this differs from the gitignore package that consumes GitHub's awesome gitignore repository.

GitHub logo github / gitignore

A collection of useful .gitignore templates

A collection of .gitignore templates

This is GitHub’s collection of .gitignore file templates We use this list to populate the .gitignore template choosers available in the GitHub.com interface when creating new repositories and files.

For more information about how .gitignore files work, and how to use them the following resources are a great place to start:

Folder structure

We support a collection of templates, organized in this way:

  • the root folder contains templates in common use, to help people get started with popular programming languages and technologies. These define a meaningful set of rules to help get started, and ensure you are not committing unimportant files into your repository
  • Global contains templates for various editors, tools and operating systems that can be used in different situations. It is…
 

Hey, thanks for sharing this package, I did not know of its existance. I did know of Github's list though as I've used it.

At the moment, the only difference is that I prompt the user for a language. Eventually, I'd like to generate the gitignore automatically based on the user's environment.

 

That would be great adding the .gitignore during scaffolding automatically based on the environment.

Code of Conduct Report abuse