Skip to content

Fix git bisect exercise: use master instead of main#520

Closed
BmBaczkowski wants to merge 1 commit intocoderefinery:mainfrom
BmBaczkowski:docs/fix-bisect-exercise
Closed

Fix git bisect exercise: use master instead of main#520
BmBaczkowski wants to merge 1 commit intocoderefinery:mainfrom
BmBaczkowski:docs/fix-bisect-exercise

Conversation

@BmBaczkowski
Copy link
Collaborator

Closes #519

@bast
Copy link
Member

bast commented Feb 25, 2026

Thanks for the fix! I am wondering however whether we shouldn't instead rename the default branch in the exercise?

@BmBaczkowski
Copy link
Collaborator Author

You mean to rename the branch after clone?

git clone https://github.com/coderefinery/git-bisect-exercise
git branch -m master main
git branch -u origin/master main # optional?

It would certainly be possible to include this instruction in the exercise. I am not sure whether, from a pedagogical perspective, this creates an "unnecessary" step that participants are not familiar with (tracking remote branches). What is your preference?

@bast
Copy link
Member

bast commented Feb 25, 2026

Sorry, what I meant was that we would rename the branch in this repo: https://github.com/coderefinery/git-bisect-exercise

If you agree, I can do that.

I agree with you that renaming the branch as part of the exercise would add unnecessary distraction.

@BmBaczkowski
Copy link
Collaborator Author

Oh, I see. Yes, that seems to be a better solution. Yes, please go ahead! Thanks!!

@bast
Copy link
Member

bast commented Feb 25, 2026

I have renamed the branch. Thanks again for catching this!

@BmBaczkowski BmBaczkowski deleted the docs/fix-bisect-exercise branch February 25, 2026 17:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Incorrect branch name in git bisect excercise (main vs master)

2 participants