Gitコマンドのヘルプをブラウザで確認する
Posted: | Tags: Git
ヘルプを見る3種類の方法
Gitのコマンドのヘルプを見るには、3種類の方法がある。
$ git help <command>
$ git <command> --help
$ man git-<command>
例えば、config
コマンドのヘルプを見たい場合は、以下のいずれかで見れる。
$ git help config
$ git config --help
$ man git-config
help
コマンド自体のhelp
も見れる。
$ git help help
$ git help --help
$ man git-help
ヘルプをブラウザで確認する
ターミナルで見るのに慣れていない場合は、-w
(または--web
)オプションを付けることで、ブラウザで見ることもできる。
$ git help -w <command>