https://github.com/fristonio/g-ignore
Automatic gitignore generator
https://github.com/fristonio/g-ignore
git gitignore gitignore-files gitignore-generator
Last synced: about 1 year ago
JSON representation
Automatic gitignore generator
- Host: GitHub
- URL: https://github.com/fristonio/g-ignore
- Owner: fristonio
- License: mit
- Created: 2017-06-18T13:53:26.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2017-08-27T21:44:26.000Z (almost 9 years ago)
- Last Synced: 2025-03-27T06:44:49.352Z (over 1 year ago)
- Topics: git, gitignore, gitignore-files, gitignore-generator
- Language: Python
- Homepage:
- Size: 20.5 KB
- Stars: 5
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
# gIgnore
> gIgnore is a automatic gitignore generator tool for git repositories.
## Installation
* Clone the repo to your local system using `git clone https://github.com/fristonio/g-Ignore.git` and navigate to it.
* Install the package using pip `sudo pip install .`
* The installation itself sets required **$PATH** variables and command `gign` can be used to run package.
## Usage
`gign [-h] [-u] [-s] [-i langIgnore]`
**Optional Arguments:**
* **-h, --help** : show this help message and exit
* **-u, --update** : Update github/gitignores for gIgnore
* **-s, --supports** : Prints supported languages ...
* **-i [Language]** : To view standard ignores for the given language
* **-r --restore** : To restore gitignore to the last version
If no argument is provided then app will run in default mode and create/update the .gitignore saving the current state of gitignore that can be restored later on.
## To-Do
- [ ] Add supports for framworks specific ignores.
- [ ] Add supports for text-editors specific ignores.
- [x] Add feature to restore previous state of gitignores
## Dependencies
* [Python requests](https://pypi.python.org/pypi/requests)
* [Python BeautifulSoup](https://pypi.python.org/pypi/beautifulsoup4)
* [Python lxml](https://pypi.python.org/pypi/lxml)
## License
[MIT License](https://github.com/fristonio/g-Ignore/blob/master/LICENSE.md)