Welcome to the CSC Q&A, on our server named in honor of Ada Lovelace. Write great code! Get help and give help!
It is our choices... that show what we truly are, far more than our abilities.

Categories

+8 votes

Why gitbash shows this message "fatal: pathspec 'TestProject' did not match any files" even though there are files existing?

asked in CSC350 by (1 point)

1 Answer

+2 votes

You could be in the wrong folder prior to 'TestProject' so it can not find the file.

answered by (1 point)
reshown by
+1

Just to add to that, the way that you change folders in git bash is the cd command. e.g.

cd /h/git/TestRepo/
...