How do I change the directory in Git Bash with Git for Windows?

前端 未结 5 1830
醉梦人生
醉梦人生 2021-02-01 18:44

How would I change to the directory C:/Users/myname/project name in Git Bash?

5条回答
  •  深忆病人
    2021-02-01 19:14

    An alternative that worked for me (Windows 10 x64) is putting the full address in quotes:

    cd "D:\BWayne\Documents\- School\Developer\-- Backend\Test for GitBash"
    

    I could then do like mkdir, touch, etc and it successfully put them in the Test for GitBash folder.

提交回复
热议问题