Generate .gitignore files from your terminal
Pronounced (Gee Ignore)
In the past, I used toptal/gitignore.io to generate a .gitignore file for all my projects. However, they decided to disable their tool if you use an ad blocker. In my opinion, this is the wrong approach for a free tool, so I am creating a free and open source replacement tool. For now, the plan is to create a simple, usable cli tool to generate a .gitignore file. I would love to implement new features as long as the mvp for gignr stays the same. The goal for gignr is as follows:
- Easy, simple to use
- Fast, no waiting as the user is trying to create their next best idea.
Install manually from source
- Install Go 1.18 or later
- Clone the repo and cd into the directory
git clone https://github.com/michaelnavs/gignr && cd gignr
- Install gignr
~/go/bin/is in your
- test by running the following command:
- List all available templates to use to generate a .gitignore file for your project
- Generate a new .gitinore file with a single template, use the -t or –template flag
gignr genrate -t <TEMPLATE_NAME>
- Generate a new .gitinore file with multiple templates
gignr genrate -t <TEMPLATE_NAME> -t <TEMPLATE_NAME> ...
- Append a template to an existing .gitinore file, use the -a or –append flag
gignr genrate -a -t <TEMPLATE_NAME>
- Append multiple templates to an existing .gitinore file
gignr genrate -a -t <TEMPLATE_NAME> -t <TEMPLATE_NAME> ...
All contributions are welcome! Just open a pull request. Please read CONTRIBUTING.md
Distributed under the MIT License. See LICENSE for more information.
Project Link: https://github.com/navazjm/gignr