LoginSignup
4
3

More than 5 years have passed since last update.

いまさらgiboの使い方

Last updated at Posted at 2016-01-11

概要

giboは.gitignoreの自動生成をしてくれます。
https://github.com/simonwhitaker/gibo

install

git clone https://github.com/simonwhitaker/gibo.git

batファイルをパスの通っているディレクトリに放り込む

cp path/to/gibo/gibo.bat ~/bin/

動くかを確認する(使える一覧が出てくる

gibo.bat -l

how to

例えばこんな感じ(リダイレクトしないとそのまま出力されるだけ)
大文字、小文字は間違ってもいいっぽい(ぇ intellijはJetBrains

gibo.bat java Windows Vim JetBrains > .gitignore

感想

最初にプロジェクト作る際にこれがない、あれがいらない、とか面倒なのでこういうのは便利ですね。
あとは自分のローカルの .gitignore にて自分だけのものは書いていけばいいし。

その他

何故かshの方を使おうとしてもやろうとしてもうまく行かなかった……
(パーミッションがないですよ。しかしwhichするとnot foundという。パスがおかしくなったような感じがするけど……。windows難しい)
時間あったらまた挑戦しよう

4
3
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
4
3