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

前端 未结 5 1829
醉梦人生
醉梦人生 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:09

    If the you know how many levels up from your current working directory, you could use cd ../project/name to avoid writing the entire directory path.

    The .. represents moving 1 directory up.

提交回复
热议问题