Skip to content

Releases: imwithye/gitignore

v2.0.0

09 Nov 15:45
Compare
Choose a tag to compare

Use new Golang embed file system to rewrite.
Implement fuzzy rules for better searching.

usage: gitignore.exe [<flags>] <templates>...

Flags:
  --help                 Show context-sensitive help (also try --help-long and
                         --help-man).
  --output=".gitignore"  The output file. Default is .gitignore and use - for
                         stdout.

Args:
  <templates>  Gitignore templates

Version 1.0.3

21 Jun 13:12
Compare
Choose a tag to compare

Release Notes

Version 1.0.3 Changelog

  • Update to latest git-ignore template.
  • Fix git-ignore update on macOS.
  • Remove duplicate empty space in ignore file.

Version 1.0.2 Changelog

  • Update to latest git-ignore template.
  • Newline character is required in some ignore files, fixed.
  • git-ignore version will help you to check the latest version.

Version 1.0.2

08 Jun 15:56
Compare
Choose a tag to compare

Release Notes

Version 1.0.2 Changelog

  • Update to latest git-ignore template.
  • Newline character is required in some ignore files, fixed.
  • git-ignore version will help you to check the latest version.

Version 1.0.0

05 Jun 04:24
Compare
Choose a tag to compare

Git-ignore

Build Status

Are you tired of managing your git ignore files? You probably work in this way

mkdir myproject && cd myproject
cat /path-to-ignore-template >> .gitignore
git init

Or even worse, you edit your git ignore file every time. You may use git init --template a lot. But here is a more pretty solution! Try git ignore!

Git-ignore is a git plugin which allows you manage your git ignore files. Add ignore file to current project by using

git ignore add python c java c++ objective-c

Ignore files relate to Python C and Java will be added into .gitignore file. Git-ignore use GitHub gitignore template as submodule. There are lots of language ignore files in this repository. You don't have to create your own template. Just start using it!

Sure, of course Git-ignore provides a way to manage your own templates:).

Install

Simply download the binary file from release, rename it to git-ignore and add it to your system path. You are ready to go.

Uninstall

Simply delete the binary from your system.

Usage

Try git ignore -h. It will out put some useful information.

Add ignore

git ignore add python java c

This command will add multi git gitignore templates to .gitignore.

See which file will be added

git ignore which python java

See what will be added

git ignore show python java