git-bash $PATH cannot parse windows directory with space

前端 未结 7 1282
旧时难觅i
旧时难觅i 2020-12-10 10:37

I would like to use git-bash come with github client on a windows 7 (32bit) machine. Somehow, the git-bash has already learned the $PATH variables from windows

7条回答
  •  小蘑菇
    小蘑菇 (楼主)
    2020-12-10 11:00

    git-bash runs in a Linux environment. As, linux doesn't recognize \ backslash in its directory path, you need to use / forwardslash. Use "" if you directory path contains spaces.

提交回复
热议问题