Project

ignore

0.0
No commit activity in last 3 years
No release in over 3 years
Super easy manage gitignores from Github.com/github or add your own custom one
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 0.9.2

Runtime

~> 0.10.2
~> 0.9.9
 Project Readme

Ignore

Adding gitignores is now super simple

A simple commandline tool to pull gitignores from github.com/github/gitignore.

This way all you ever have to do is.

$ git init

$ ignore ruby

$ ignore osx

$ ignore vim

Boom you are ready to go!

With a new git repo and curated gitignores for Ruby, OSX and Vim.

Similar to what you see when you make a new repo through Githubs online interface

See github.com/github/gitignore for a full list of all the supported languages

Why?

Its the easiest way to fetch gitignores

I got irritated making repos then manually fetching gitignores. So I made this.

How to Install?

> gem install ignore
> ignore update

What Does It Do?

1. Add simple gitignores in one line

$ ignore ruby

This is will add github's ruby gitignore to a new or existing .gitignore in your current directory

2. Easy updates to sync with github.com/github/gitignore

ignore update

3. You can add your own gitignores to your ~/.ignores directory

cp .gitignore ~/.ignores/custom.gitignore

(Just make sure the file is in the ~/.ignores folder and ends with .gitignore)

4. Show you contents of a gitignore

ignore show ruby

5. List all the possible gitignores available

ignore list

6. Even comes with zsh autocompletion

just copy the zsh autocomplete function to wherever your autocomplete functions go (it depends on your config)

Summary

Command What it Does
list Shows you all the gitignores in ~/.ignores directory
update Updates to sync with github
show <language> Prints contents of gitignore, best used with less command
<language> Autogenerates or appends to current directory gitignore the specified languages .gitignore
clean Empties your local ~/.ignores folder
help Shows you pretty much same table

Make it Better

Heres the todo list, these are features that make it easier to use, but I havent got around to it yet

  • Autoupdate
  • better docs
  • bash Autocompletion
  • Custom remotes for your own gitignores (see the lib/ignore/storage.rb for this)

If you want to help - just fork, push and pull request!

Make issues for bugs or contact @bazooka_sam