Skip to main content
Info commands help you inspect and understand the current state of your repository, view changes, and search through your code and history.

git-bisect

Use binary search to find the commit that introduced a bug

git-diff

Show changes between commits, commit and working tree, etc

git-grep

Print lines matching a pattern

git-log

Show commit logs

git-show

Show various types of objects

git-status

Show the working tree status

Overview

These commands provide visibility into your repository:
  • git-bisect helps locate problematic commits through binary search
  • git-diff shows differences between various states
  • git-grep searches for patterns in tracked files
  • git-log displays commit history
  • git-show displays information about Git objects
  • git-status shows current working tree and staging area state