How to change folder with git bash? -Git bash change directory

1.0K    Asked by AyushiKhatri in Devops , Asked on May 31, 2021

My default git folder is C:Usersusername.git

But I want to go into c:/project

What command do I need to get into that?


To change directory in git bash folder there is a command in your case it will be:

    cd  /c/project/

This will change your project folder and you can use:

pwd command to see on which path recently you’re in. so that it can be useful to open bash from there.



Your Answer

Interviews

Parent Categories