Skip to content

JakeShelley1/pignore

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pignore

Gitignore generator written in Python.

Features

Installation

pip install pignore

OR

easy_install pignore

Run pignore update after installation to get default gitignores

Usage

Commands

   g | generate   generate a gitignore file
   u | update     update gitignore stored files
   s | save       save current directory gitignore file
   l | list       list all available gitignores

Examples

Update

$ pignore update

Updates gitignores from Github's gitignore repo

Basic Generate

$ pignore generate java

Generates a Java .gitignore file in current directory

Append Multiple Gitignores

$ pignore generate java python swift

Generates appends Java, Python, and Swift .gitignore files to create a single .gitignore file in current directory

If there is already a .gitignore file in the current directory you will have the option to overwrite it or append to it

Save

$ pignore save my_gitignore

Save .gitignore in current directory to provided file name. You can generate the .gitignore later using:

$ pignore generate my_gitignore

List

pignore list

Lists gitignores provided from update and all saved gitignores

Feature Requests

Feel free to request features and enhancements in the issue tracker

License

Pignore uses the MIT License