The Windows path in 2.1 is using the wrong path separator
Personne n'a encore pris cette issue.
Évaluation
- Difficulté
- 2/5
- Temps estimé
- 1-3 heures
- Accessibilité débutants
- 78/100
- Type d'issue
- Bug
- Clarté
- Clairement spécifiée
- Activité
- Active
- Stack technique
- git
- Domaine
- documentation
Piste de recherche
Commencez par la section 2.1 liée et recherchez dans le code source du livre l’exemple Windows contenant C:/Users/user/my_project. Mettez à jour cet exemple pour qu’il utilise le séparateur de chemins Windows attendu, puis vérifiez que le site web et le PDF générés affichent le chemin corrigé.
Rédigé par le modèle d'indexation à partir du texte de l'issue.
Description
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:
The book shows in section 2.1:
Initializing a Repository in an Existing Directory
If you have a project directory that is currently not under version control and you want to start controlling it with Git, you first need to go to that project’s directory. If you’ve never done this, it looks a little different depending on which system you’re running:
for Linux:
cd /home/user/my_projectfor macOS:
cd /Users/user/my_projectfor Windows:
cd C:/Users/user/my_project
The path separator in Windows is wrong - it should be C:\Users\user\my_project, not C:/Users/user/my_project
Steps to reproduce:
- Go to 'section 2.1, initializing a repository in an existing directory'
- See error
Expected behavior:
I expected the path separator \ to show.
Screenshots:
Additional context:
No response
Device
laptop
Operating system
macOS 27.2 Beta 1
Browser/application + version
Safari 27.2
- Langage dominant
- CSS
- Étoiles
- 6.6k
- Forks
- 2.1k
- Métriques de merge des PR
- Aucune PR mergée en 30 j
Préparer son environnement
- Aucun Dockerfile ni fichier Docker Compose
- Propose un modèle de pull request
- Lire le guide de contribution
Par où commencer
- Lisez l'issue en entier, puis le guide de contribution du projet.
- Signalez en commentaire que vous la prenez — cela évite que deux personnes fassent le même travail.
- Forkez le dépôt et travaillez sur une branche.
- Ouvrez une pull request qui référence le numéro de l'issue.
Autres issues de progit/progit2
-
bug
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
-
Semi-stale link for GitHostingOuvertebug
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
-
enhancement
Difficulté 1/5 Moins d'une heure Accessibilité débutants 82/100
-
enhancement
Difficulté 1/5 1-3 heures Accessibilité débutants 65/100
-
enhancement
Difficulté 1/5 Moins d'une heure Accessibilité débutants 62/100
Toutes les issues de progit/progit2
Issues similaires
-
CalendarEventAttendance/get returns eventAttendanceStatus while the doc says attendanceStatusPeut-être pris @chibenwa l’a pris aujourd’hui. Ouvertebug claude
Difficulté 1/5 Moins d'une heure Accessibilité débutants 90/100
linagora/tmail-backend#2697 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
PyPSA/PyPSA#1976 · 1 commentaire ·
Les mainteneurs répondent en général sous 1 jour
-
C-bug
Difficulté 2/5 1-3 heures Accessibilité débutants 72/100
Les mainteneurs répondent en général sous 2 jours
-
status:untriaged
Difficulté 2/5 1-3 heures Accessibilité débutants 68/100
midnightntwrk/servicedesk#234 ·
Les mainteneurs répondent en général sous 1 jour
-
[Docs][openrouter]: README JWT example mints a token without exp, which the proxy always rejectsOuvertegood first issue help wanted
Difficulté 1/5 Moins d'une heure Accessibilité débutants 92/100
Les mainteneurs répondent en général sous 1 jour