You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I second this, same OS. Always getting fatal: not a git repository.
C:\repos\my-repo>git fame
Error: Could not run 'git --git-dir='C:/repos/my-repo/.git' --work-tree='C:/repos/my-repo' ls-tree -r HEAD --name-only' => fatal: not a git repository: ''C:/repos/my-repo/.git''.
Try --help for help.
When I run git ls-tree -r HEAD --name-only on my own, I get a list of all tracked files, so it's not Git that fails.
And yes, C:/repos/my-repo and C:/repos/my-repo/.git exist. It is a valid repository. I guess I am getting some concealed error here..
Hi,
This issue is a blocker for me. I am trying to run git fame on windows 10 and below are the outputs:
$ git fame --version
git-fame 2.5.2 (c) 2012-2018 Linus Oleander
$ git --version
git version 2.14.1.windows.1
$ git fame .
Error: Branch 'master' does not exist.
Try --help for help.
$ git fame --branch=development
Error: Branch 'development' does not exist.
Try --help for help.
$ git branch
master
I tried to execute the above commands from .git folder and still encounter the same error messages.
I have also tried to give --repository= and have the same issue.
I encounter the same issue with git-fame command as well.
Kindly assist as I am required to generate reports based on commits and am blocked by the above issue.
Thanks,
The text was updated successfully, but these errors were encountered: