Repository navigation
Start branches from upstream/main; bots accept a carried first commit - #50
Merged
Merged
Conversation
A tester's Exercise 2 PR (#47) carried their unmerged first-commit file, because the branch started from the fork's main. The first-commit bot told them to undo their exercise files, and the Exercise 2 bot would have rejected the PR. Now the first-commit bot stays quiet on Exercise 2 PRs, and the Exercise 2 bot checks the carried file and explains it. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
A learner's main holds their first commit until it is merged. Once upstream has moved, git pull upstream main stops with 'Need to specify how to reconcile divergent branches'. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
A branch made from the fork's main carries the unmerged first commit into the Exercise 2 pull request (seen in #47). Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
Reported in #45: 'unterminated string literal (detected at line 3) (line 3)'. Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
23 tasks
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
The second-account test (#45) found two traps for a learner who reaches Lesson 05 before their Lesson 02 pull request is merged. Lesson 02 puts the first commit on the fork's
main, and it stays there, unmerged, until a maintainer merges it.1. The Exercise 2 pull request carried the first commit (seen in #47)
The lesson said
git switch main,git pull upstream main,git switch -c exercise-2, so the branch started from the fork'smain. Then:2.
git pull upstream mainfails once upstream has movedWith a default git config it stops with
Need to specify how to reconcile divergent branches. Lessons 03, 05, 09 and 10 all ran it.Fixes
git fetch upstream, thengit switch -c BRANCH upstream/main. No pull intomainbefore the merge.mainwhile the first PR is open.Run against the real pull requests: #47 now gets "Nice work" with the note, the first-commit bot is silent on #47, and #46 still passes.
Lectures 03, 05 and 10 are re-rendered.
🤖 Generated with Claude Code