Fatal: pathspec 'file.txt' did not match any files, GIT

前端 未结 14 1438
难免孤独
难免孤独 2021-02-04 11:59

I have just started learing GIT. Follow their tutorial.

Now at the very beginning I got stuck with this error:

Fatal: pathspec \'file.txt\' did not match         


        
14条回答
  •  刺人心
    刺人心 (楼主)
    2021-02-04 12:15

    I had the same issue as well. Please confirm your file directory. After moving my file to the correct directory it works.

    git output

提交回复
热议问题