yrufai
yrufai

Reputation: 61

Git bash change of directory

How do i change from a sub-directory to a directory in git bash. i know how to navigate into a directory with this code.

cd desktop/projects/react-redux.  

however, navigating to a directory from a sub-directory is what is giving me problems. from the the path above, i want to cd in projects directory from the react-redux . this how i did it and it did not work.

cd .. 

i have spent too much time on this thing. please guys help me out

Upvotes: 1

Views: 85

Answers (1)

CodeWizard
CodeWizard

Reputation: 142542

The problem was that there were no spaces in the command:

cd..

# should be written:
cd ..

Upvotes: 1

Related Questions