gibo (short for .gitignore boilerplates) is a command-line tool to help you easily access .gitignore boilerplates from github.com/github/gitignore.
gibo dump Swift Xcode >> .gitignore
For additional usage instructions, run gibo help
.
brew install gibo
Or use the tap, which may be slightly more up-to-date:
brew install simonwhitaker/tap/gibo
On Windows, you can install gibo using Scoop:
scoop bucket add main
scoop install main/gibo
choco install gibo
go install github.com/simonwhitaker/gibo@latest
Clone the repo, then:
cd gibo
go install .
Download the latest release for your platform, then put gibo
(or gibo.exe
) somewhere on your path.
docker run --rm simonwhitaker/gibo
See the instructions at:
gibo completion
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:
echo 'syntax: glob' > .hgignore
gibo dump Python >> .hgignore
gibo was written by Simon Whitaker (@s1mn)