The Windows path in 2.1 is using the wrong path separator
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 2/5
- Thời gian dự kiến
- 1-3 giờ
- Mức phù hợp với người mới
- 78/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Đặc tả rõ ràng
- Mức độ hoạt động
- Sôi nổi
- Công nghệ
- git
- Lĩnh vực
- documentation
Hướng nghiên cứu
Bắt đầu từ mục 2.1 được liên kết và tìm trong mã nguồn của sách ví dụ Windows chứa C:/Users/user/my_project. Cập nhật ví dụ đó để sử dụng dấu phân cách đường dẫn Windows được mong đợi, sau đó xác minh rằng website và PDF đã được kết xuất hiển thị đường dẫn đã được sửa.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
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
- Ngôn ngữ chính
- CSS
- Star
- 6.6k
- Fork
- 2.1k
- Chỉ số merge pull request
- Không có pull request nào được merge trong 30 ngày
Hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của progit/progit2
-
bug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 72/100
-
Semi-stale link for GitHosting Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 68/100
-
enhancement
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 82/100
-
enhancement
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 65/100
-
enhancement
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 62/100
Tất cả issue của progit/progit2
Issue tương tự
-
content
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
GDQuest/learn-gdscript#1395 ·
-
rules
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
-
HttpClient
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 75/100
symfony/symfony-docs#23092 ·
-
[Docs Request]: 模块修改建议 & 增加 Đang mở
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 90/100
-
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 95/100
huggingface/sentence-transformers#4074 ·