https://github.com/willguimont/git-gen-ignore
Small git tool to generate .gitignore files using http://www.gitignore.io/
https://github.com/willguimont/git-gen-ignore
Last synced: 6 months ago
JSON representation
Small git tool to generate .gitignore files using http://www.gitignore.io/
- Host: GitHub
- URL: https://github.com/willguimont/git-gen-ignore
- Owner: willGuimont
- License: mit
- Created: 2020-01-13T01:13:32.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-12T23:29:16.000Z (about 6 years ago)
- Last Synced: 2025-10-08T19:05:53.241Z (10 months ago)
- Size: 14.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# git-gen-ignore
Small git tool to generate .gitignore files using [gitignore.io](http://www.gitignore.io/)
# Installation
1. Install [Stack](https://docs.haskellstack.org/en/stable/README/)
2. `mkdir ~/bin`
3. Copy git-gen-ignore into `~/bin`
4. `chmod +x ~/bin/git-gen-ignore`
5. Add `PATH=$PATH:$HOME/bin` at the end of your `~/.bashrc`
6. To search possible arguments, use `git genignore list [list of search terms separated by a space]`
7. Use with `git gen-ignore [list of OS, IDE, Programming languages separated by a space]`
# Example
## Search possible arguments
`git genignore list hask intell`
## Generate `.gitignore`
In a repository, run `git gen-ignore haskell intellij` to generate a gitignore equivalent to [gitignore.io/api/haskell,intellij](https://www.gitignore.io/api/haskell,intellij)