Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rack_remote/master have changed to rack_remote/main #1967

Open
5 tasks done
Sherry520 opened this issue Aug 1, 2024 · 0 comments
Open
5 tasks done

rack_remote/master have changed to rack_remote/main #1967

Sherry520 opened this issue Aug 1, 2024 · 0 comments
Labels

Comments

@Sherry520
Copy link
Contributor

There's no existing/similar bug report.

  • I have searched the existing issues

This report is about a single actionable bug.

  • I'm reporting a single actionable bug

This report is about the ProGit book, version 2, English language.

  • This bug is not about a translation or old version

Bug covers book website/pdf

  • 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?

  • 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:
image

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:

  1. git remote add rack_remote https://github.com/rack/rack
  2. git fetch rack_remote --no-tags
  3. git checkout -b rack_branch rack_remote/master

Expected behavior:

image

Screenshots:

No response

Additional context:

The reason is that rack_remote/master has changed to rack_remote/main
image

Device

No response

Operating system

No response

Browser/application + version

No response

@Sherry520 Sherry520 added the bug label Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant