Repository navigation
Day 4: add 2 flashcards to Git Fundamentals set - #1892
sonawaneutkarsh wants to merge 1 commit into
Conversation
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f71ec63b9b
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| { | ||
| "id": "git-20", | ||
| "front": "What does git bisect do?", | ||
| "back": "git bisect performs a binary search through commit history to find the commit that introduced a bug. Mark a known-bad commit (git bisect bad) and a known-good one (git bisect good); Git checks out the middle commit and you test, repeating until the culprit is found. End with git bisect reset.", |
There was a problem hiding this comment.
Initialize bisect and identify the good revision
When a reader follows the commands shown here with no active bisect, the workflow cannot reach the claimed midpoint: git bisect bad requires starting a session, and after adding only that step, the bare git bisect good marks the still-checked-out bad commit as good and fails because the same commit is both good and bad. I checked git bisect -h, whose usage lists git bisect start ... and git bisect (good|bad) [<rev>...]; include the start step and pass or check out the known-good revision, as demonstrated in content/guides/introduction-to-git/08-history.md:191-198.
Useful? React with 👍 / 👎.
Adds 2 flashcards to the Git Fundamentals set (cardCount 18 -> 20):
git-19: staging part of a file withgit add -pgit-20: finding regressions withgit bisectPart of the 8-Day Hacktoberfest Challenge (Day 4).