gitignorer

command module
v0.0.0-...-8c21cd4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 11, 2018 License: MIT Imports: 8 Imported by: 0

README

Gitignorer

Generate .gitignore files easily for multiple languages

Building:

Browse to the repository, and run the building command go build

This will generate a binary file. See the commands below

Usage:

  1. New gitignore: ./gitignorer create Java
  2. Multiple gitignores: ./gitignorer create C++,Python,Java,Go (No spaces)
  3. Update Gitignore files: ./gitignorer update
  4. List languages: ./gitignorer list
  5. Create a template: ./gitignorer create-template C++,Python,Java NameOfYourTemplate (No spaces)
  6. List templates: ./gitignorer list-templates
  7. Use a template: ./gitignorer use-template TemplateName

Templates:

Gitignorer allows you to "merge" different languages' .gitignore files into one, which is called a Template

Templates are saved in Gitignorer's data directory(./gitignorer_data/Templates)

You can edit templates using any text editor, and add whatever files you want to be ignored (Make sure they are saved with a name like Templatename.Template.gitignore)

To use a template, run the command: ./gitignorer use-template TemplateName

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL