rack_remote/master have changed to rack_remote/main

Abierto
#1,967 0 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
2/5
Tiempo estimado
1-3 horas
Aptitud para principiantes
48/100
Tipo de issue
Error
Claridad
Bastante claro
Estado de actividad
Estancado
Stack tecnológico
git

Línea de trabajo

Start at Git Tools -> Advanced Merging -> Subtree Merging in the Pro Git source, then run the three reproduction commands from the report against the rack remote. Update the example so its remote branch reference matches the current rack repository, and verify the corrected example appears in the website/PDF output.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

bug
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

Lenguaje dominante
CSS
Estrellas
6.6k
Forks
2.1k
Métricas de merge de PR
Sin PR fusionados en 30 d

Guía de contribución

Abrir la guía de contribución

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de progit/progit2

Todos los issues de progit/progit2

Issues similares

Más issues de Documentation

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.