.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.ePython
orJavascript
) -
--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 thatgit 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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | 8f8645983cb193fc58bb4f130227812a05af7ffa4973073c905fe339d8e96a21 |
|
MD5 | 53061f46b0554dd7232e6c1d732221d2 |
|
BLAKE2b-256 | c559e3c3284dc21640c74b38d630658f8e9a8c472416cca3b382994ecf225d1e |
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | ea83cea6c4d32cbd59ce4ffa0a601710da73f05de9f6633f1626b0e0f3800f23 |
|
MD5 | d6af87c65b0b180e0010d433ff3397ff |
|
BLAKE2b-256 | f6b6f4d863a806e543ff3d2d05825ed77893620f173ed9eec76b9b41e4bf88de |