System Grab Bag

View all TLDR pages from common (or from all pages)

git commit-graph

Write and verify Git commit-graph files. More information: https://git-scm.com/docs/git-commit-graph.
  • Write a commit-graph file for the packed commits in the repository's local .git directory:
    git commit-graph write
  • Write a commit-graph file containing all reachable commits:
    git show-ref --hash | git commit-graph write --stdin-commits
  • Write a commit-graph file containing all commits in the current commit-graph file along with those reachable from HEAD:
    git rev-parse {{HEAD}} | git commit-graph write --stdin-commits --append

License and Disclaimer

The content on this page is copyright © 2014—present the tldr-pages team and contributors.
This page is used with permission under Creative Commons Attribution 4.0 International License.

While we do attempt to make sure content is accurate, there isn't a warranty of any kind.