Skip to content
项目

关于

轻松获取 gitignore 模板

开发工具

这些数字如何统计

实测星标增长

24小时
+1
7天
+1
15天
+1
1个月
+2

各周期内的星标净变化,周期相互重叠,并非每日新增。缺失的测量保持空白。星标代表关注度,不代表软件质量。

README.md

原文

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.

Typical usage

gibo dump Swift Xcode >> .gitignore

For additional usage instructions, run gibo help.

Installation

Using Homebrew

brew install gibo

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

brew install simonwhitaker/tap/gibo

Using Scoop

On Windows, you can install gibo using Scoop:

scoop bucket add main
scoop install main/gibo

Using Chocolatey

choco install gibo

Using the Go toolchain

go install github.com/simonwhitaker/gibo@latest

Building from source

Clone the repo, then:

cd gibo
go install .

Downloading a binary

Download the latest release for your platform, then put gibo (or gibo.exe) somewhere on your path.

Installation on Docker

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:

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

Credits

gibo was written by Simon Whitaker (@s1mn)

探索相关项目

加载中…