Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

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: 3 days ago
JSON representation

🤫 Easy access to gitignore boilerplates

Awesome Lists containing this project

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

```command
gibo dump Swift Xcode >> .gitignore
```

For additional usage instructions, run `gibo help`.

## Installation

### Using Homebrew

```command
brew install gibo
```

Or use the tap, which may be slightly more up-to-date:

```command
brew install simonwhitaker/tap/gibo
```

### Using Scoop

On Windows, you can install gibo using [Scoop](https://scoop.sh/#/apps?q=gibo):

```command
scoop bucket add main
scoop install main/gibo
```

### Using Chocolatey

```command
choco install gibo
```

### Using the Go toolchain

```command
go install github.com/simonwhitaker/gibo@latest
```

### Building from source

Clone the repo, then:

```command
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

```command
docker run --rm simonwhitaker/gibo
```

## Tab completion in bash, zsh, fish and Powershell

See the instructions at:

```command
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:

```command
echo 'syntax: glob' > .hgignore
gibo dump Python >> .hgignore
```

## Credits

gibo was written by Simon Whitaker ([@s1mn](http://twitter.com/s1mn))