git blame on windows reports “fatal: no such path in HEAD”

后端 未结 3 926
名媛妹妹
名媛妹妹 2021-02-07 07:20

When I run git blame on a file in a folder e,g,:

git blame Foo/FileA.txt

it returns

fatal: no such path \'Foo/FileA.txt\' in HEAD

3条回答
  •  北恋
    北恋 (楼主)
    2021-02-07 07:37

    Entering the terminal from the file directory and then blaming it shall work.

提交回复
热议问题