error: pathspec 'test-branch' did not match any file(s) known to git

后端 未结 11 1784
刺人心
刺人心 2020-12-13 17:31

I am a new user of Git. I have forked a repository called Spoon-Knife (available for practicing forking with Git). Then, I cloned it locally by running

git c         


        
11条回答
  •  隐瞒了意图╮
    2020-12-13 18:05

    I got this error because the instruction on the Web was

    git checkout https://github.com/veripool/verilog-mode

    which I did in a directory where (on my own initiative) i had run git init. The correct Web instruction (for newbies like me) should have been

    git clone https://github.com/veripool/verilog-mode

提交回复
热议问题