Get out of a folder using Git Bash Get out of a folder using Git Bash windows windows

Get out of a folder using Git Bash


To change your directory in git-bash to that specific path you can use this command :

cd /c/user/myUsername

basically you have to replace backslash with standard slash, or otherwise if you simply want to go to the parent directory you can use :

cd ..

as stated in comments that you already received on your question ...


Just wanted to add, make sure to insert space between cd and ..

no: cd..yes: cd ..


If you want to move one directory up, just type command cd .. if you are following any tutorials most probably they will use macOS so that means they will use there own linux commands like

cd/home/your username.So just click type cd .. it will leads to go to previous directory.Most probably people will type like this cd ..users/username so don't do that mistake; just type cd .. .

Other mistakes:don't type :- cd..do :- cd ..

give space between cd and dots.