Hacktoberfest 2026:メンテナが10月に向けて印を付けた、オープンで初心者向けの issue。 Hacktoberfest の issue を見る

The Windows path in 2.1 is using the wrong path separator

オープン 初心者向け
#2,091 コメント 0 件 リアクション 0 件 担当者 0 名 GitHub で見る

まだ誰も着手していません。

評価

難易度
2/5
見積もり時間
1〜3時間
初心者へのやさしさ
78/100
issue の種類
バグ
明瞭さ
明確に書かれている
活発さ
活発
技術スタック
git
領域
documentation

調査の方向性

リンク先のセクション 2.1 から始め、C:/Users/user/my_project を含む Windows の例を本のソース内で検索します。その例を、想定される Windows のパス区切り文字を使用するように更新し、レンダリングされたウェブサイトと PDF に修正後のパスが表示されることを確認します。

索引モデルが issue の本文から書いたものです。

説明

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:

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_project

for macOS:

cd /Users/user/my_project

for 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:
  1. Go to 'section 2.1, initializing a repository in an existing directory'
  2. See error
Expected behavior:

I expected the path separator \ to show.

Screenshots:
Image
Additional context:

No response

Device

laptop

Operating system

macOS 27.2 Beta 1

Browser/application + version

Safari 27.2

主要言語
CSS
スター
6.6k
フォーク
2.1k
PR マージ指標
30日以内にマージされた PR はありません

コントリビューションガイド

コントリビューションガイドを開く

はじめの一歩

  1. issue を最後まで読み、次にプロジェクトのコントリビューションガイドを読みます。
  2. 着手することを issue にコメントします — 二人が同じ作業をするのを防げます。
  3. リポジトリをフォークし、ブランチを切って変更します。
  4. issue 番号を参照したプルリクエストを送ります。

progit/progit2 のほかの issue

progit/progit2 の issue をすべて見る

似ている issue

Documentation の issue をもっと見る

新しい issue をメールで受け取る

初心者向けの GitHub issue を短くまとめたダイジェスト。