getignore
getignore
is a command-line utility to fetch .gitignore
files from Github's Gitignore repository.
Start your new projects right, by including a .gitignore
file from the very beginning!
Usage
Interactive
Run getignore search
:
Non-interactive
- Run
getignore get <gitignore-filename>
(eg.getignore get Node.gitignore
). getignore
will find the file with the matching name and append its contents to your.gitignore
file
Installation
macOS
Use Homebrew:
- Add the
getignore
tap to your Homebrew installation:
brew tap haroldadmin/getignore
- Install
getignore
:
brew install getignore
Other
You can find pre-compiled binaries for popular platforms on the Releases page.
Building from source
- Install the Go programming language
- Run
go get github.com/haroldadmin/getignore
Automated Release Publication
There are open issues for making getignore
available as pre-compiled binaries and also with various package managers automatically on every release.
Contributions
getignore
is a very small side-project, and I would continue to maintain it in my free time. If you would like to lend a hand by adding new features or fix bugs, feel free to open issues or pull requests.
License
See License.