Text of git-scm.com › docs › api-object-access.html as Styx crawled it on Nov 20, 2026. The page may have changed since. Only its words are kept, without pictures or layout.

Open the live page

Git - api-object-access Documentation

English ▾ English Topics ▾ Setup and Config git config help bugreport Credential helpers Getting and Creating Projects init clone Basic Snapshotting add status diff commit notes restore reset rm mv Branching and Merging branch checkout switch merge mergetool log stash tag worktree Sharing and Updating Projects fetch pull push remote submodule Inspection and Comparison show log diff difftool range-diff shortlog describe Patching apply cherry-pick diff rebase revert Debugging bisect blame grep Email am apply imap-send format-patch send-email request-pull External Systems svn fast-import Server Admin daemon update-server-info Guides gitattributes Command-line interface conventions Everyday Git Frequently Asked Questions (FAQ) Glossary Hooks gitignore gitmodules Revisions Submodules Tutorial Workflows All guides...

Administration clean gc fsck reflog filter-branch instaweb archive bundle Plumbing Commands cat-file check-ignore checkout-index commit-tree count-objects diff-index for-each-ref hash-object ls-files ls-tree merge-base read-tree rev-list rev-parse show-ref symbolic-ref update-index update-ref verify-pack write-tree Latest version ▾ api-object-access last updated in 2.18.0 2.18.1 → 2.24.4 no changes 2.18.0 2018-06-21 2.17.1 → 2.17.6 no changes 2.17.0 2018-04-02 2.1.4 → 2.16.6 no changes 2.0.5 2014-12-17 Talk about <sha1-file.c> and <object.h> family, things like read_sha1_file() read_object_with_reference() has_sha1_file() write_sha1_file() pretend_object_file() lookup_{object,commit,tag,blob,tree} parse_{object,commit,tag,blob,tree} Use of object flags (JC, Shawn, Daniel, Dscho, Linus)