File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ # git bugreport
2+
3+ > Gitのバグ報告に役立つテキストファイルを生成するため、システムとユーザーからデバッグ情報を取得する。
4+ > 詳細情報: < https://git-scm.com/docs/git-bugreport > 。
5+
6+ - 現在のディレクトリに新しいバグ報告ファイルを作成する:
7+
8+ ` git bugreport `
9+
10+ - 指定したディレクトリに新しいバグ報告ファイルを作成し、存在しない場合はそのディレクトリを作成する:
11+
12+ ` git bugreport {{[-o|--output-directory]}} {{ディレクトリ/サブディレクトリ}} `
13+
14+ - ` strftime ` 形式の指定したファイル名サフィックスで新しいバグ報告ファイルを作成する:
15+
16+ ` git bugreport {{[-s|--suffix]}} {{%m%d%y}} `
Original file line number Diff line number Diff line change 1+ # git daemon
2+
3+ > Gitリポジトリ用の非常に単純なサーバー。
4+ > 詳細情報: < https://git-scm.com/docs/git-daemon > 。
5+
6+ - 許可されたディレクトリ群でGit daemonを起動する:
7+
8+ ` git daemon --export-all {{ディレクトリ/サブディレクトリ1 ディレクトリ/サブディレクトリ2 ...}} `
9+
10+ - 指定したベースディレクトリでGit daemonを起動し、Gitリポジトリのように見えるすべてのサブディレクトリからのpullを許可する:
11+
12+ ` git daemon --base-path={{ディレクトリ/サブディレクトリ}} --export-all --reuseaddr `
13+
14+ - 指定したディレクトリ用にGit daemonを起動し、ログメッセージを詳細に表示してGitクライアントからの書き込みを許可する:
15+
16+ ` git daemon {{ディレクトリ/サブディレクトリ}} --enable=receive-pack --informative-errors --verbose `
Original file line number Diff line number Diff line change 1+ # git instaweb
2+
3+ > GitWebサーバーを起動するヘルパー。
4+ > 詳細情報: < https://git-scm.com/docs/git-instaweb > 。
5+
6+ - 現在のGitリポジトリ用にGitWebサーバーを起動する:
7+
8+ ` git instaweb --start `
9+
10+ - localhostだけで待ち受ける:
11+
12+ ` git instaweb --start {{[-l|--local]}} `
13+
14+ - 指定したポートで待ち受ける:
15+
16+ ` git instaweb --start {{[-p|--port]}} {{1234}} `
17+
18+ - 指定したHTTP daemonを使用する:
19+
20+ ` git instaweb --start {{[-d|--httpd]}} {{lighttpd|apache2|mongoose|plackup|webrick}} `
21+
22+ - Webブラウザも自動起動する:
23+
24+ ` git instaweb --start {{[-b|--browser]}} `
25+
26+ - 現在実行中のGitWebサーバーを停止する:
27+
28+ ` git instaweb --stop `
29+
30+ - 現在実行中のGitWebサーバーを再起動する:
31+
32+ ` git instaweb --restart `
Original file line number Diff line number Diff line change 1+ # git mailinfo
2+
3+ > 1つのメールメッセージからパッチと作成者情報を抽出する。
4+ > 詳細情報: < https://git-scm.com/docs/git-mailinfo > 。
5+
6+ - メールメッセージからパッチと作成者データを抽出する:
7+
8+ ` git mailinfo {{メッセージ|パッチ}} `
9+
10+ - 抽出時に先頭と末尾の空白を削除する:
11+
12+ ` git mailinfo -k {{メッセージ|パッチ}} `
13+
14+ - scissors行 (例: "-->* --") より前の本文をすべて削除し、メッセージまたはパッチを取得する:
15+
16+ ` git mailinfo --scissors {{メッセージ|パッチ}} `
Original file line number Diff line number Diff line change 1+ # git send-email
2+
3+ > パッチの集合をメールとして送信する。
4+ > パッチはファイル、ディレクトリ、またはリビジョン一覧として指定できる。
5+ > 詳細情報: < https://git-scm.com/docs/git-send-email > 。
6+
7+ - 現在のブランチの最後のコミットを対話的に送信する:
8+
9+ ` git send-email -1 `
10+
11+ - 指定したコミットを送信する:
12+
13+ ` git send-email -1 {{コミット}} `
14+
15+ - 現在のブランチの複数のコミット (例: 10件) を送信する:
16+
17+ ` git send-email {{-10}} `
18+
19+ - パッチシリーズ用の導入メールメッセージを送信する:
20+
21+ ` git send-email -{{コミット数}} --compose `
22+
23+ - 送信予定の各パッチのメールメッセージを確認・編集する:
24+
25+ ` git send-email -{{コミット数}} --annotate `
You can’t perform that action at this time.
0 commit comments