0
Bisect
İkili arama yoluyla bir hataya neden olan kesin işlemi bulmak için git bisect'i kullanın.
yazan kuscubasiece·8 Eylül 2026
Kaynak: rohitg00/awesome-claude-code-toolkit · Apache-2.0
İkili arama yoluyla bir hataya neden olan kesin işlemi bulmak için git bisect'i kullanın.
Kaynak: rohitg00/awesome-claude-code-toolkit · Apache-2.0
mkdir -p .claude/commands && curl -sL https://www.antrophiclove.com/api/kaynak/bisect/raw -o .claude/commands/bisect.mdHedef dosya: .claude/commands/bisect.md
---
name: bisect
description: Use git bisect to find the exact commit that introduced a bug through binary search.
---
Use git bisect to find the exact commit that introduced a bug through binary search.
## Steps
1. Identify a known good state and a known bad state:
2. Start the bisect session:
3. For each step git presents:
4. When bisect identifies the culprit commit:
5. End the bisect session: `git bisect reset`.
6. Create a fix based on the identified commit.
7. Document the bisect result with the commit hash and explanation.
## Format
```
Bisect Result:
First Bad Commit: <hash>
Author: <name>
Date: <date>
```
## Rules
- Always reset bisect when done to return to the original branch.
- Automate the test when possible: `git bisect run <test-command>`.
- If a commit cannot be tested, use `git bisect skip`.