mirror of
https://github.com/tldr-pages/tldr.git
synced 2026-08-28 20:11:19 +08:00
f804b886b5
git-commit-graph-updates
17 lines
612 B
Markdown
17 lines
612 B
Markdown
# git commit-graph
|
|
|
|
> Tulis dan verifikasi file grafik komit Git.
|
|
> Informasi lebih lanjut: <https://git-scm.com/docs/git-commit-graph>.
|
|
|
|
- Tulis file grafik komit untuk komit yang dikemas di dalam direktori `.git` pada lokal repositori:
|
|
|
|
`git commit-graph write`
|
|
|
|
- Tulis file grafik komit yang berisi semua komit yang dapat dijangkau:
|
|
|
|
`git show-ref {{[-s|--hash]}} | git commit-graph write --stdin-commits`
|
|
|
|
- Tulis file grafik komit yang berisi semua komit dalam file grafik komit saat ini beserta yang dapat dijangkau dari `HEAD`:
|
|
|
|
`git rev-parse {{HEAD}} | git commit-graph write --stdin-commits --append`
|