Skip to content

sloria/gig

master
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

gig

PyPI Latest Version Build Status

A CLI to create .gitignore files, to keep your source control so fresh and clean.

Andre

Install/Upgrade

$ pip install -U gig

Or, run it with pipx:

$ pipx run gig --help

Usage

In the shell. . .

$ gig Python Ruby > .gitignore

Or, programmatically, in Python. . .

>>> import gig
>>> gig.generate_gitignore(["Clojure"])
u'\n### Clojure ###\nLeiningen.gitignore'

You can also generate global .gitignore_global files. For more info, see here.

$ gig macOS VisualStudioCode --global > ~/.gitignore_global

To get a list of available templates. . .

$ gig list
$ gig list --global

For more help, run gig --help.

Requirements

  • Python >= 3.6
  • Internet connection

License

MIT Licensed.

Changelog

1.2.0 (unreleased)

  • Test against Python 3.8 and 3.9.

1.1.0 (2019-06-30)

  • Add --no-header.

1.0.0 (2019-06-27)

  • Write to stdout.
  • Only Python>=3.6 is supported.

0.2.0 (2013-09-09)

  • Add support for global gitignore files.

0.1.0 (2013-09-07)

  • First release.

About

Generate .gitignore files from the command line or programmatically, in Python

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages