2022-05-19 00:10:21 +03:00
2022-05-18 21:45:07 +03:00
2022-05-18 15:51:02 +03:00
2022-05-18 22:59:46 +03:00
2022-05-18 23:36:32 +03:00
2022-05-18 15:22:39 +03:00
2022-05-18 15:22:39 +03:00
2022-05-18 23:36:32 +03:00
2022-05-18 22:59:46 +03:00
2022-05-19 00:10:21 +03:00
2022-05-18 23:36:32 +03:00

Gitignore File Generator

Table of Contents

GI Gen is an open source CLI to generate .gitignore files. It is completely cross-platform, and standalone (no dependencies), so you may literally use it for any project on any platform.

You can run this CLI program to create or append a .gitignore file from a chosen list of template easily.

You may choose more than one template to generate.

Usage

Download the file for your platform in the Releases page.

Put it anywhere that you can run an executable from. It is completely portable to any directory, but it is preferable you put it somewhere that is in your PATH.

Just run gi_gen in the directory you wish to add to and follow the prompts.

$ gi_gen

Features

GI Gen does the following things:

  • Discovers any gitignore templates that might be related to your project (optional, otherwise lists all available templates)
  • Optionally clean up results from any patterns that aren't in your project
  • Writes to .gitignore (if a file already exists, you may append to it instead)

Credits to open-source-ideas for the idea for the application.

Known Bugs

I am still working on getting the compiling actions to work. For now, if the binary doesn't work for you, try installing via go install, if you have Go lang tools installed.

go install github.com/chenasraf/gi_gen

Or clone this repository and install directly from source.

Contribute

Please feel free to open PRs or issues with bug fixes/reports, or feature requests.

This project was built using Go, and should run easily with the normal Go tools.

Testing was only done on macOS using ARM architecture, so feel free to report any issues on your platform if you have any, or are missing your platform and cannot/don't want to build from source (I tried building for the most common platforms).

If you are feeling incredibly generous and appreciate the time & effort I put into developing this tool, kindly consider donating any amount to help me make up for the work hours. It is really very much appreciated! 🙏🏼

Buy Me a Coffee at ko-fi.com
Description
Gitignore generator for any type of project
Readme MIT 160 KiB
Languages
Go 100%