Debugging
git bisect
Description
Usage
git bisect [<subcommand> | <options>]-- Start the Bisecting Process
git bisect start
-- Mark a Commit as Bad
-- Marks the current commit (or specified commit) as containing the bug
git bisect bad [<commit>]
-- Mark a Commit as Good
-- Marks the current commit (or specified commit) as not containing the bug
git bisect good [<commit>]
-- Skip a Commit
-- Skips the current commit (or specified commit) if it can't be tested (e.g., doesn't compile)
git bisect skip [<commit>]
-- Visualize the Bisecting Process
git bisect visualize
-- Reset the Bisecting Process
-- Ends the bisecting process and returns to the original branch
git bisect resetExample Workflow
Example Output

git grep
Description
Usage
Options
What It Does
Common Use Cases
Example Workflow
Example Output

git fsck
Description
Usage
Options
What It Does
Common Use Cases
Example Output

Last updated