Skip to content

Commit 6e7f52d

Browse files
authored
git-{maintenance, commit-graph, show-index, unpack-file, merge-tree}: add Japanese translation (#23955)
1 parent 4233f3a commit 6e7f52d

5 files changed

Lines changed: 72 additions & 0 deletions

File tree

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
# git commit-graph
2+
3+
> Gitのcommit-graphファイルを書き込み、検証する。
4+
> 詳細情報: <https://git-scm.com/docs/git-commit-graph>
5+
6+
- リポジトリのローカル `.git` ディレクトリ内にあるパック済みコミット用のcommit-graphファイルを書き込む:
7+
8+
`git commit-graph write`
9+
10+
- 到達可能なすべてのコミットを含むcommit-graphファイルを書き込む:
11+
12+
`git show-ref {{[-s|--hash]}} | git commit-graph write --stdin-commits`
13+
14+
- 現在のcommit-graphファイル内のすべてのコミットと、`HEAD` から到達可能なコミットを含むcommit-graphファイルを書き込む:
15+
16+
`git rev-parse {{HEAD}} | git commit-graph write --stdin-commits --append`

pages.ja/common/git-maintenance.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
# git maintenance
2+
3+
> Gitリポジトリデータを最適化するタスクを実行する。
4+
> 詳細情報: <https://git-scm.com/docs/git-maintenance>
5+
6+
- 現在のリポジトリを、毎日メンテナンスが実行されるユーザーのリポジトリ一覧に登録する:
7+
8+
`git maintenance register`
9+
10+
- 現在のリポジトリでメンテナンスタスクが毎時実行されるようにスケジュールする:
11+
12+
`git maintenance start`
13+
14+
- 現在のリポジトリのバックグラウンドメンテナンススケジュールを停止する:
15+
16+
`git maintenance stop`
17+
18+
- 現在のリポジトリをユーザーのメンテナンス対象リポジトリ一覧から削除する:
19+
20+
`git maintenance unregister`
21+
22+
- 現在のリポジトリで指定したメンテナンスタスクを実行する:
23+
24+
`git maintenance run --task {{commit-graph|gc|incremental-repack|loose-objects|pack-refs|prefetch}}`

pages.ja/common/git-merge-tree.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# git merge-tree
2+
3+
> ファイルを変更せずにブランチをマージする。
4+
> 詳細情報: <https://git-scm.com/docs/git-merge-tree>
5+
6+
- 2つのブランチ間のマージ結果を表示する:
7+
8+
`git merge-tree {{ブランチ1}} {{ブランチ2}}`
9+
10+
- マージを実行し、結果のツリーを書き込む:
11+
12+
`git merge-tree --write-tree {{ブランチ1}} {{ブランチ2}}`

pages.ja/common/git-show-index.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# git show-index
2+
3+
> Gitリポジトリのパック済みアーカイブインデックスを表示する。
4+
> 詳細情報: <https://git-scm.com/docs/git-show-index>
5+
6+
- Git packfileのIDXファイルを読み取り、その内容を `stdout` に出力する:
7+
8+
`git show-index {{ディレクトリ/サブディレクトリ/ファイル.idx}}`
9+
10+
- インデックスファイル用のハッシュアルゴリズムを指定する (実験的):
11+
12+
`git show-index --object-format {{sha1|sha256}} {{ディレクトリ/サブディレクトリ/ファイル}}`

pages.ja/common/git-unpack-file.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# git unpack-file
2+
3+
> blobの内容を持つ一時ファイルを作成する。
4+
> 詳細情報: <https://git-scm.com/docs/git-unpack-file>
5+
6+
- IDで指定したblobの内容を保持するファイルを作成し、一時ファイル名を出力する:
7+
8+
`git unpack-file {{blob_id}}`

0 commit comments

Comments
 (0)