Git 2 reference · 4 entries

Git Investigating and Tools

Find who changed what and when, hunt bugs with bisect, use worktrees, and debug .gitignore rules.

NameDescriptionSince
git blame Show who last changed each line of a file and in which commit, to find the context of a line of code.
git bisect Binary-search the history for the commit that introduced a bug, manually or automatically with a test script.
git worktree Check out several branches at once in separate directories that share one repository, without stashing or cloning.
git check-ignore Find out whether a path is ignored and which .gitignore rule ignores it; useful for debugging .gitignore patterns.

Was this page helpful?