How to change directory in Git bash


You can make use of cd command to change the directory in Git Bash, lets's see some examples,



% cd /project/css

% pwd

/project/css


As Git Bash works on windows if you want to switch to a directory that is in a Drive say D: you can do that by using /d/myProject/dist/javaScript/

% cd /d/myProject/dist/javaScript/

% pwd

/d/myProject/dist/javaScript/

Top Hashtags:

Advertisements

Advertisements




Advertisements