gitignore

command module
v1.0.3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 21, 2016 License: MIT Imports: 1 Imported by: 0

README

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!

##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.

macOS user can install git-ignore via Homebrew

brew install imwithye/formula/git-ignore

##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

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis
cmd
all

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL