Peacock is a small tool to easily manage your .gitignore written in ruby.
It lets you extract files and directories from .gitignore files as well as inserting new files to .gitignore
Install by executing:
$ gem install peacock
Usage:
peacock [options] [files/directories]
Options:
-h, [--help] # show this text
-r, [--root] # use root .gitignore
-s, [--silent] # suppress output
-e, [--extract] # extract file from .gitignore
$ git status
...
Untracked files:
these
are
some
files
$ peacock are some
added are to .gitignore
added some to .gitignore
$ git status
...
Untracked files:
these
files
$ peacock -e are
removed are from .gitignore
$ git status
...
Untracked files:
these
are
files
Issues are used for TODOs
- Fork it ( https://github.com/bakku/peacock/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request