The Windows path in 2.1 is using the wrong path separator
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 2/5
- Tempo stimato
- 1-3 ore
- Idoneità per principianti
- 78/100
- Tipo di issue
- Bug
- Chiarezza
- Specificata chiaramente
- Stato di attività
- Attiva
- Stack tecnologico
- git
- Ambito
- documentation
Direzione di ricerca
Parti dalla sezione 2.1 collegata e cerca nel codice sorgente del libro l'esempio Windows contenente C:/Users/user/my_project. Aggiorna l'esempio in modo che utilizzi il separatore di percorso Windows previsto, quindi verifica che il sito web generato e il PDF mostrino il percorso corretto.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- CSS
- Stelle
- 6.6k
- Fork
- 2.1k
- Metriche di merge delle PR
- Nessuna PR unita negli ultimi 30g
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di progit/progit2
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
bug
Difficoltà 2/5 1-3 ore Idoneità per principianti 68/100
-
enhancement
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 82/100
-
enhancement
Difficoltà 1/5 1-3 ore Idoneità per principianti 65/100
-
enhancement
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 62/100
Tutte le issue di progit/progit2
Issue simili
-
Add: hunch Aperta
Difficoltà 2/5 1-3 ore Idoneità per principianti 74/100
AbdelStark/awesome-typesafe#104 ·
-
Difficoltà 2/5 1-3 ore Idoneità per principianti 65/100
-
A11y ♿️
Difficoltà 2/5 1-3 ore Idoneità per principianti 72/100
-
Link Checker Report Apertaautomated issue report
Difficoltà 2/5 1-3 ore Idoneità per principianti 85/100
-
documentation improve or update documentation priority/low triage
Difficoltà 2/5 Mezza giornata Idoneità per principianti 86/100
warpdotdev/docs#782 · 1 commento ·