Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/simonwhitaker/gibo
Easy access to gitignore boilerplates
https://github.com/simonwhitaker/gibo
git gitignore gitignore-files gitignore-generator gitignore-templates shell shell-script
Last synced: about 1 month ago
JSON representation
Easy access to gitignore boilerplates
- Host: GitHub
- URL: https://github.com/simonwhitaker/gibo
- Owner: simonwhitaker
- License: unlicense
- Created: 2012-05-01T08:32:07.000Z (over 12 years ago)
- Default Branch: main
- Last Pushed: 2024-05-22T17:50:04.000Z (4 months ago)
- Last Synced: 2024-07-19T02:12:52.704Z (about 2 months ago)
- Topics: git, gitignore, gitignore-files, gitignore-generator, gitignore-templates, shell, shell-script
- Language: Go
- Homepage:
- Size: 212 KB
- Stars: 1,948
- Watchers: 36
- Forks: 65
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
- jimsghstars - simonwhitaker/gibo - 🤫 Easy access to gitignore boilerplates (Go)
README
# gibo: fast access to .gitignore boilerplates
**gibo** (short for .gitignore boilerplates) is a command-line tool to help you easily access .gitignore boilerplates from [github.com/github/gitignore](https://github.com/github/gitignore).
## Typical usage
```console
$ gibo dump Swift Xcode >> .gitignore
```For additional usage instructions, run `gibo help`.
## Installation
### Using Homebrew
```sh
brew install gibo
```Or use the tap, which may be slightly more up-to-date:
```sh
brew install simonwhitaker/tap/gibo
```### Using Scoop
On Windows, you can install gibo using [Scoop](https://scoop.sh/#/apps?q=gibo):
```sh
scoop bucket add main
scoop install main/gibo
```### Using Chocolatey
```
choco install gibo
```### Using the Go toolchain
```sh
go install github.com/simonwhitaker/gibo@latest
```### Building from source
Clone the repo, then:
```sh
cd gibo
go install .
```### Downloading a binary
Download the latest [release](https://github.com/simonwhitaker/gibo/releases) for your platform, then put `gibo` (or `gibo.exe`) somewhere on your path.
### Installation on Docker
```sh
docker run --rm simonwhitaker/gibo
```## Tab completion in bash, zsh, fish and Powershell
See the instructions at:
```
gibo completion
```## Use gibo to generate .hgignore files
The `glob` .hgignore syntax for Mercurial is compatible with .gitignore syntax. This means that you can use gibo to generate .hgignore files, as long as the .hgignore files use the `glob` syntax:
```sh
echo 'syntax: glob' > .hgignore
gibo dump Python >> .hgignore
```## Credits
gibo was written by Simon Whitaker ([@s1mn](http://twitter.com/s1mn))