progit2
progit2 copied to clipboard
rack_remote/master have changed to rack_remote/main
There's no existing/similar bug report.
- [X] I have searched the existing issues
This report is about a single actionable bug.
- [X] I'm reporting a single actionable bug
This report is about the ProGit book, version 2, English language.
- [X] This bug is not about a translation or old version
Bug covers book website/pdf
- [X] I confirm the bug is about the book as found on the website/pdf
Problem is present in the Pro Git book on the website?
- [X] This bug also affects the Pro Git book as published on the website.
Which version of the book is affected?
Source files
Describe the bug:
In Git Tools -> Advanced Merging -> Subtree Merging
Code in the example:
git checkout -b rack_branch rack_remote/master
error occured:
fatal: 'rack_remote/master' is not a commit and a branch 'rack_branch' cannot be created from it
Steps to reproduce:
- git remote add rack_remote https://github.com/rack/rack
- git fetch rack_remote --no-tags
- git checkout -b rack_branch rack_remote/master
Expected behavior:
Screenshots:
No response
Additional context:
The reason is that rack_remote/master
has changed to rack_remote/main
Device
No response
Operating system
No response
Browser/application + version
No response