Git
  • About
    • Trademark
  • Learn
    • Book
    • Cheat Sheet
    • Videos
    • External Links
  • Tools
    • Command Line
    • GUIs
    • Hosting
  • Reference
  • Install
  • Community
  • Table of Contents
    • NAME
    • SYNOPSIS
    • DESCRIPTION
    • OPTIONS
    • Raw output format
    • diff format for merges
    • Generating patch text with -p
    • Combined diff format
    • other diff formats
    • OPERATING MODES
    • CACHED MODE
    • NON-CACHED MODE
    • GIT
English ▾
Localized versions of git-diff-index manual
  1. English
  2. Português (Brasil)
  3. Русский
  4. Svenska
  5. українська мова
  6. 简体中文
Want to read in your language or fix typos?
You can help translate this page.
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
Version 2.51.0 ▾ git-diff-index last updated in 2.54.0
Changes in the git-diff-index manual
  1. 2.54.0 2026-04-20
  2. 2.53.0