Skip to main content

.gitignore generator built as a git plugin

Project description

git-ignores

Git plugin that generates a .gitignore for your project based on Githubs gitignore templates.

Usage

The plugin provides a new git subcommand ignores. which takes the following options.

  • --template - The name of the gitignore template from this repo (i.e Python or Javascript)

  • --append - Instead of failing or replacing content, --append will tell the script to simply append the gitignore entries instead of replacing the file wholesale.

  • --force - Replace the .gitignore file by force with the new template.

You can also run git-ignores --help to view the help message. Note that git ignores --help returns an error as git tries to load a man page when --help is called. A man-page will be shipped in a future update.

Example

$ git ignores -t Python --force

Installation

FIXME

Contributing

If you wish to contribute to the project. Here a few things to note.

  • Python version used in development: 3.11
  • This project uses the Poetry build tool.

Todo

  • Tests
  • Cleanup and validate package metadata
  • Publish on PyPi

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

git_ignores-0.1.1.tar.gz (2.6 kB view details)

Uploaded Source

Built Distribution

git_ignores-0.1.1-py3-none-any.whl (3.1 kB view details)

Uploaded Python 3

File details

Details for the file git_ignores-0.1.1.tar.gz.

File metadata

  • Download URL: git_ignores-0.1.1.tar.gz
  • Upload date:
  • Size: 2.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.11.0 Darwin/21.6.0

File hashes

Hashes for git_ignores-0.1.1.tar.gz
Algorithm Hash digest
SHA256 8f8645983cb193fc58bb4f130227812a05af7ffa4973073c905fe339d8e96a21
MD5 53061f46b0554dd7232e6c1d732221d2
BLAKE2b-256 c559e3c3284dc21640c74b38d630658f8e9a8c472416cca3b382994ecf225d1e

See more details on using hashes here.

File details

Details for the file git_ignores-0.1.1-py3-none-any.whl.

File metadata

  • Download URL: git_ignores-0.1.1-py3-none-any.whl
  • Upload date:
  • Size: 3.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.2.2 CPython/3.11.0 Darwin/21.6.0

File hashes

Hashes for git_ignores-0.1.1-py3-none-any.whl
Algorithm Hash digest
SHA256 ea83cea6c4d32cbd59ce4ffa0a601710da73f05de9f6633f1626b0e0f3800f23
MD5 d6af87c65b0b180e0010d433ff3397ff
BLAKE2b-256 f6b6f4d863a806e543ff3d2d05825ed77893620f173ed9eec76b9b41e4bf88de

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page